gregbell/active_admin — Issue #602: Including jQuery in vendor.js doubles ajax calls with jquery-rails
Author: orangebrule
Created: 2011-10-11 20:26:57+00:00
State: open

I have a Rails 3.1 application with jquery-rails gem and the following manifest file:
//= require jquery
//= require jquery_ujs
//= require_tree .

Turns out jquery-rails gives version 1.6.2 and active_admin.js does a require on its own jquery (1.4.2) in base.js for active_admin/vendor.js

I get two versions of jQuery in my app which causes my ajax forms to be sent twice. I've tried different ways to include/exclude certain files but to no avail.