On 26 Nov 2007, at 17:43, Shandy Nantz wrote:
>
> Just a simple of question of when do validations get called? Do they
> get
> called on save or new or do they get called whenever an instance of
> that
> object gets called? Thanks,
When the object is saved. You can also call valid? to see if an object
is valid.
Fred
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---