You could use conditional validation. http://guides.rubyonrails.org/activerecord_validations_callbacks.html#using-a-symbol-with-if-and-unless That's one way to do it.
Cheers! Arzumy On Jul 22, 11:56 am, Me <chabg...@gmail.com> wrote: > anyone? > > On Jul 20, 7:42 pm, Me <chabg...@gmail.com> wrote: > > > I have amodelsay "site" and anothermodel"equipment". > > > In the Site form I can attach equipment dynamically in the form and > > the equipment has attributes in the :through table. > > > Is there a way to validate the equipment attributes ONLY when the SITE > > form has been completed? --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---