Hi There folks,

I am using validates_associated to make sure some child models are valid
before saving the parent.  However I want to do some extra validation
AFTER the child models are valid in its parent.  For instance in each
child it has a date field - I need once the child is valid to compare
the dates of each of the children to each other to make sure one is not
bigger than another.

However right now it seems the validates_associated happens AFTER all
validation of the parent

Any ideas?

Paul
-- 
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 [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