Rails 3 UJS – controller gets called twice by link_to :remote

Thanks to this dialog: https://github.com/rails/jquery-ujs/issues/208 I was able to discover that jquery and jquery_ujs were getting included twice. I guess the jquery-rails gem automatically puts them into application.js, and then I had them included in application.js as well. Seems like for whatever reason application.js automatically bundles everything in app/assets/javascripts/ – even when I remove all … Read more