Thanks for the tip Commander. I figured it out. I was needing to do a validates_associated but I didn't want the error message to appear in my view. My answer to this at the time was to remove the error message once the object had been validated.
However a much better way was to write my own validate statement def validate return false unless self.associated_object.valid? end This way I'm checking that the associated object is valid without generating the errors in the first place. I love the rails validates helpers so much that I forget I can do validation myself and get all the control I'll ever need. Cheers Tom -- 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 -~----------~----~----~----~------~----~------~--~---

