Preksha, I guess, you should read this:
http://ryandaigle.com/articles/2009/2/1/what-s-new-in-edge-rails-nested-attributesHopefully,
it will solve your problem.

Thanks,
Abhinav
--
अभिनव
http://twitter.com/abhinav



On Tue, Sep 15, 2009 at 2:32 PM, Preksha Patel <
[email protected]> wrote:

>
> Preksha Patel wrote:
> > Saurabh Peshkar wrote:
> >> Have you commented the line
> >>
> >> in club.rb
> >> validates_associated :user
> >
> > no i haven't commented this line..
>
> now i have comment out this line and add this line
> validates_associated :club, :message => nil
> in user.rb model
> --
> 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