no he meant you need to add the corresponding div , you see rails 2.x
scaffold adds
<div flash_notice></div>
in the layout, but you need one div like that for each type of message other
wise it wont appear.
add this
<% flash.each do |name, msg| %>
<%= content_tag :div, msg, :id => "flash_#{name}" %>
<% end %>
it will loop the flash to see if there is any kind of message and create a
corresponding div
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.