I think from your description you don't really want 'validations' in the
rails sense. You might want to look into using some sort of state machine
and do some conditions checking of the interrelated models when the main
model is saved.

On Wed, Jul 29, 2009 at 1:09 PM, Chris Habgood <[email protected]> wrote:

> Ya, now that you said a flag would be good.  I was initially referring to
> the main Site model initiating the validation for the equipment but a flag
> in the equipment model would probably be an easier solution.


-- 
Cynthia Kiser
[email protected]

--~--~---------~--~----~------------~-------~--~----~
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