You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Explanation is you put = javascript_include_tag "application" at the bottom of your html
to meet Foundation's expectations. So every previous javascript will fail.
Solution: you have to put your scripts after the files defining them.
So AFTER = javascript_include_tag "application", add:
= yield :scripts
And then whenever you need in a view:
- content_for :scripts do:javascript// Gmaps can be called safely here...