I am very familiar with javascript and jquery in general, but I am looking for a good guide on how it works in rails 3.0. I understand that the javascript libraries have been rewritten in rails 3. (I never used rails 2.0)
It seems there are no railsguides for thi开发者_如何学Cs.
For Rails tutorials it's often hard to go past Ryan Bates:
- Intro to js in Rails
- Testing JS in rails, same episode revised for coffeescript
- Passing data to JS
- Even Backbone.js in Rails
I found this tutorial useful:
http://www.simonecarletti.com/blog/2010/06/unobtrusive-javascript-in-rails-3/
Getting jQuery working in rails 3...
http://joshhuckabee.com/jquery-rails-3
Complete ajax crud with rails 3...
http://www.stjhimy.com/posts/7-creating-a-100-ajax-crud-using-rails-3-and-unobtrusive-javascript
精彩评论