flash-message-conductor

A simple pattern for managing flash messages in your Ruby on Rails application.

Flash Message Conductor

A simple pattern for managing flash messages in your Ruby on Rails application.

Example

Controller helpers

add_message( ‘foo’ )

is the equivalent of

flash[:message] = ‘foo’

Controller helpers included:

add_message( message ) add_notice( message ) add_error( message )

View helpers

<%= render_flash_messages %>

produces:

You have successfully done XYZ...

or… if you set an error

Oops! Something went bonkers!

Copyright © 2008 Planet Argon, released under the MIT license

Related Repositories

flash-message-conductor

flash-message-conductor

A simple pattern for managing flash messages in your Ruby on Rails application. ...

flash-message-conductor

flash-message-conductor

A simple pattern for managing flash messages in your Ruby on Rails application. ...

flash-message-conductor

flash-message-conductor

A simple pattern for managing flash messages in your Ruby on Rails application. ...

flash-message-conductor

flash-message-conductor

A simple pattern for managing flash messages in your Ruby on Rails application. ...

flash-message-conductor

flash-message-conductor

A simple pattern for managing flash messages in your Ruby on Rails application. ...


Top Contributors

robbyrussell DrMark planetargon