Ask A Question

Notifications

You’re not receiving notifications from this thread.

How do I post comment with ajax in rails 4.2 ? Can I please have a detailed example?

Aime Ngongang asked in General

How do I post comment with ajax in rails 4.2 ? Can I please have a detailed example?

Reply

I just want to test if this will work

Reply

Have you watched the AJAX episode? https://gorails.com/episodes/jquery-ujs-and-ajax

Reply

To post a comment with Ajax in Rails 4.2, you first need to create a new post and select the "Post Comment" option from the drop-down menu. Then, you need to provide the necessary information, such as your name, email address, and website. After you've filled out the information, you'll be able to submit your comment.

Reply
Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 71,728+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2023 GoRails, LLC. All rights reserved.