/ Published in: Rails
A quick and simple way of having any flash messages, from railscast #18
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<% flash.each do |key, msg| %> <%= content_tag :div, msg, :id => key %> <% end %>