Is there any good resources to learn Ajax(jQuery) with Rails 3?
I'm just learning Rails 3 and finding this tutorial very useful
Chapter 12.2.5 (it is now in 11.2.5) has a bit on Ajax
This Railscast is a good resource
But really, jQuery AJAX is what it is regardless of your framework. You can always have a click event fire an AJAX call to your controller, have your controller return a JSON object, and have a success handler that keys off of properties from this object to update the DOM. The main difference with Rails is that you can send back a js.erb template instead, which can execute some JavaScript as well as render some partials.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With