RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

message_block: An error_messages_for replacement for showing flash messages and validation messages

message_block handles showing ActiveRecord validation messages on (potentially multiple) models and flash messages (of different types: error, confirm, warn, etc.) in one helper. Messages are grouped by type and shown in “message blocks” with some default stylization and icons.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in