Hello,

I've got a problem with nested model form. I need to post just
Comments. And they are referenced to Links which are referenced to
Category.

https://gist.github.com/961300

The current form in app/views/links/show.html.erb doesn't work for me.
I want it to be able to post new comment to links. In the Links
controller I've got:
@link = Link.find(params[:id])
form_for @link, @link.comments.build If there were no Categories but
how it would look in the current structure ?

Best Regards
  Ivan

-- 
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to