On Apr 20, 3:33 pm, Neil Bye <li...@ruby-forum.com> wrote: > Frederick Cheung wrote in post #994032: > > > > > Check the parameters you get in your controller - you'll probably need > > to use params[:comment_id] rather than params[:id] > > > Fred > > Tried params[:comment_id] > > It goes to /comments/1/subcomments and says: > > try { > window.location.reload();} catch (e) { alert('RJS error:\n\n' + e.toString()); > > alert('window.location.reload();'); throw e } > > Does this mean its gone through and found another error. > > ?????????????????????
That means that it rendered your rjs (which is telling the page to reload) but the form wasn't setup to to receive a rjs response. Your subcomment should have been created though. Fred > > Neil > > -- > Posted viahttp://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 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.