>
> class Artist < ActiveRecord::Base
>  belongs_to :user
>

> accepts_nested_attributes_for :user


 this is backwards, artist is nested inside users but you want artist to
accept nested attributes of users.

It only works the when you are accepting attributes for the child model from
inside the parent.

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