drat another road block...
So now I wish to create Names and I can't fiond the secret sauce.
my old create action was simply a variation on the normal..something
like this..
def create
@name = Name.new(params[:name])
respond_to do |format|
if @name.save
else
end
end
end
How do I do it so it takes account of the new joins model...
Is it something like...
if @name.save && user_name.create(some attribs in here, e.g.
current_user.id)
Stuck. Again.
--
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.