Saurabh Peshkar wrote: > Preksha Patel wrote: >> Saurabh Peshkar wrote: >>> what message you get, if you remove :message => nil after >>> validates_associate :club >> >> if i remove :message => nil then i get the message "club is invalid" > > I'm not getting what exact message you want?
now all the things are working properly but when i don't fill information for club in the form then "club is invalid" message is displayed with error messages due to validates_associated :club line which i don't want.. -- 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 -~----------~----~----~----~------~----~------~--~---

