Skip to content Skip to sidebar Skip to footer

Include Javascript In Ruby (on Rails)

I don't quite understand how Rails includes JavaScript files. Google and the following documentations didn't solve my problem: http://railsapps.github.io/rails-javascript-include-e

Solution 1:

Try putting in Application Layout

<%= yield :head %> in the between head tags.

Post a Comment for "Include Javascript In Ruby (on Rails)"