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 <fuge...@gmail.com> 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.
Walter
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 https://github.com/DustinFisher/acts-as-commentable-with-threading-example/blob/master/app/controllers/comments_controller.rb 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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/727c7067-cbfe-4465-b140-312eb6414bc8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment