Ruby on Rails
Monday, June 26, 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
In the dustin fisher example https://github.com/DustinFisher/acts-as-commentable-with-threading-example he doesn't have a new action in the comments_controller.rb Why not?
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/cf692441-3af1-4826-bf1e-ab4359d94be0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment