github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

planetargon / flash-message-conductor

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 173
    • 16
  • Source
  • Commits
  • Network (16)
  • Issues (0)
  • Downloads (1)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (1)
    • v1.0.0
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

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

  cancel

http://github.com/planetargon/flash-message-conductor/

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Updating Rakfile settings for Jeweler to properly update the gemspec 
robbyrussell (author)
Mon Oct 12 14:39:05 -0700 2009
commit  b776bcdb28676a6dafd04d2581a9343e7b8060aa
tree    14eb3c76bbd15f8102ecc4d7ae3a50c22708f7df
parent  5cb944bb3e650f76807d646c170567fc46b9bded
flash-message-conductor /
name age
history
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 Mon Oct 12 14:39:05 -0700 2009 Updating Rakfile settings for Jeweler to proper... [robbyrussell]
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 Mon Oct 12 14:39:05 -0700 2009 Updating Rakfile settings for Jeweler to proper... [robbyrussell]
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
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server