On Aug 17, 7:31 pm, Pål Bergström <[email protected]>
wrote:
> How do I check if error_messages_for is set?
error_messages_for is a method, I assume what you meant to ask was how
to check whether there are any errors. You can either call valid? or
look at your_ar_object.errors
Fred
> --
> Posted viahttp://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 [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
-~----------~----~----~----~------~----~------~--~---