Flash_helper is a project mainly written in Ruby, based on the MIT license.
Flash Helper
A simple plugin that displays flash messages within a DIV tag, and ignore if the flash hash isn't set.
flash[:notice] = "User Created Successfully!"
<%= display_flash(flash) %>
Add the following to your stylesheet:
padding: 5px 8px; margin: 10px 0; }
background-color: #CFC; border: solid 1px #6C6; }
background-color: #FCC; border: solid 1px #C66; }
Copyright (c) 2009 Eric Berry, released under the MIT license