Thanks for the advice, follow up questions:

I'm using Devise for authentication. I think this means the controller 
inside the Devise gem handles user model editing.

So, how does one add Topics as a nested resource for Users? I understand 
this normally requires three things: a) nested partial form for creating 
topics owned by users added into the users edit form, b) 
@user.build_topic added into the Users controller edit action, c) 
accepts_nested_attributes_for :topics added into User model.

So basically two questions:

  -is it standard practice to have to modify the gem like this (in the 
Devise controller)? is there a less intrusive way?

  -Are the steps that I required necessary & sufficient?

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