Neil Bye wrote in post #1011261:
> Frederick Cheung wrote in post #1011256:
>
>>>
>>>        <%= form_for [Comment, Subcomment.new],:remote => true do |form|
>>> %>
>>
>> Here you should put the comment the subcomment is for, not Comment. If
>> you do that then you shouldn't need a hidden_field with the
>> comment_id.
>>
>> Fred
>

Strike last posting , there was an error in the  controller. All OK now.
Still don't know why I got the error in my first post.
> Neil

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