flash-message-conductor

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

3 years after

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 (c) 2008 Planet Argon, released under the MIT license

Related Repositories

awesome-microservices

awesome-microservices

A curated list of Microservice Architecture related principles and technologies. ...

gritter_notices

gritter_notices

Show growl-like flash messages and saved user notices with Gritter ...

gritter_notices

gritter_notices

Show growl-like flash messages and saved user notices with Gritter ...

gritter_notices

gritter_notices

Show growl-like flashes and saved user's notices with Gritter ...

gritter_notices

gritter_notices

Show growl-like flash messages and saved user notices with Gritter ...


Top Contributors

robbyrussell DrMark planetargon