I have an Rails application where in the application.js
is specified following:
//= require jquery
//= require jquery_ujs
//= require turbolinks
//= require gmaps/gmaps
//= require underscore
//= require_tree .
jQuery is loaded by the Rails system.
The problem is that some times it looks like jQuery is not loaded, because - for example - Google maps - are not working (and other jQuery-related stuff). After refresh/reload is everything working, but this behavior is very unpleasant.
As I have never met with this issue, I am not sure what could be wrong - I'll try to load jQuery from Google (through an HTML link in the header of the page), will see it if help.
However, haven't any of you guys faced this issue and have a tip to fix it?
Thank you