Hi Walter,

The validate* methods works fine on the console. The function 
object.valid? returns false if any of the validate method fails. For 
that case object.valid? returns false even in the controller function, 
but when i redirect to the same url, it doesn't show any errors from the 
code

<%= f.error_messages  %>

In my view im not using any sort of this code

   <% flash.each do |name, msg| %>
    <%= content_tag :div, msg, :id => "flash_#{name}" %>
    <% end %>

Do i need it?

-- 
Posted via http://www.ruby-forum.com/.

-- 
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to