Standardising flash usage

Interesting discussion in the Rails ML about better (more standard) flash messages.
In general:

// :notice for positive feedback (action successful, etc)
// :message for neutral feedback (reminders, etc)
// :warning for negative feedback (action unsuccessful, error encountered, etc)

// FLASH_NAMES = [:notice, :warning, :message]

<% for name in FLASH_NAMES %>
  <% if flash[name] %>
    <%= "<div id=\"#{name}\">#{flash[name]}</div>" %>
  <% end %>
<% end %>

Francois Beausoleil already made a Flash Helper Plugin.