public
Description: A simple pattern for managing flash messages in your Ruby on Rails application.
Homepage: http://github.com/planetargon/flash-message-conductor/
Clone URL: git://github.com/planetargon/flash-message-conductor.git
name age message
file MIT-LICENSE Wed Aug 27 23:10:40 -0700 2008 Renaming files for this new plugin name, updati... [robbyrussell]
file README Wed Aug 27 23:41:25 -0700 2008 Updating the description for Flash Message Cond... [robbyrussell]
file Rakefile Loading commit data...
file VERSION.yml Mon Oct 12 14:06:38 -0700 2009 Version bump to 1.0.0 [robbyrussell]
directory examples/ Thu Aug 28 10:05:37 -0700 2008 [chrisgriffin]
file flash-message-conductor.gemspec
directory lib/ Mon Jan 19 21:58:28 -0800 2009 Renaming helper for flash_message_set? [robbyrussell]
directory rails/ Mon Oct 12 14:34:26 -0700 2009 Updating gemspec to reference rails/ files [robbyrussell]
README
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:

<div id="flash_messages">
  <p class="message">You have successfully done XYZ...</p>
</div>

# or... if you set an error

<div id="flash_messages">
  <p class="error">Oops! Something went bonkers!</p>
</div>



Copyright (c) 2008 Planet Argon, released under the MIT license