In Rails 3, :remote => true
necessarily requires jQuery and jquery-ujs. You'll need to load them in order to get the functionality you're seeking, even if you don't ever end up using jQuery.
Assuming you're on Rails >3.1, you're using the asset pipeline. By default, the application.js
manifest file will load all the files you need. Include the application.js
file by adding the following tag to your application.html.erb
layout:
# app/views/layouts/application.html.erb
<%= javascript_include_tag :application %>