I've an app with rails3 using jQuery by default and twitter-bootstrap-rails and got a problem.
jQuery seems to be included twice, causing links using :remote => true
to be called twice too..
If i put the return of javscript_include_tag :application
in my app directly and do some tests i got the following:
- jquery.js with no application.js => remote links works perfectly
- jquery.js with application.js => remote links called twice
- no jquery.js but application.js at the top => remote links called twice too
My application.js just contain:
//= require jquery
//= require jquery_ujs
//= require twitter/bootstrap
//= require_tree .
Any ideas how to resolve this problem cleanly ?