rails/rails — Issue #4824: missing rails.js
Author: kivi
Created: 2012-02-01 16:03:44+00:00
State: open

According to guide one can expect that unobtrusive ajax works out of the box.

http://guides.rubyonrails.org/ajax_on_rails.html#the-quintessential-ajax-rails-helper-link_to_remote

link_to_remote won't work with jquery, I haven't tried creating a project with prototype, but would that really create a helper link_to_remote helper.

The way it works with jQuery is to use link_to and :remote => true. Which is described in some of the examples. But still a Javascript is missing, which makes the ajax calls.

I used https://github.com/rails/jquery-ujs, which works fine. So why not add the rails.js to the core ?