http://api.rubyonrails.org/classes/ActiveRecord/Validations/ClassMethods.html#M001343

On Oct 20, 10:44 am, Evan <[EMAIL PROTECTED]> wrote:
> I guess the question I was really getting at is how can I validate the
> presence and association of both objects before they are saved? I feel
> more confident when there is code in the model itself to ensure the
> integrity of the data rather than depending on each programmer to
> place every save in a transaction block.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to