Ruby on Rails Sunday, June 25, 2017

On Wednesday, June 21, 2017 at 8:34:17 AM UTC-4, Walter Lee Davis wrote:

> On Jun 21, 2017, at 3:52 AM, fugee ohu <> wrote:
> How do I give new.js.erb the right element name
>    $('#comment_post)click.(function(){
> In this line there's no id number

I think you may have missed a few bits of my reply. We are not observing a click any more. Everything is out of the jQuery pool, and fully into the RJS pool. If you're viewing this in the Google Groups (Web) view, you may need to expand all of the little ... ellipses in order to see all of my threaded replies.


I started out with an example posted only how to use acts_as_commentable_with_threading gem by Dustin Fisher First thing is he passes the object comentable from controller to view it's not prepended by an @, I didn't know you could do that That aside, his comments controller has no new action only create Can you please look at it and clarify for me Thanks

You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment