config.assets.debug = true
We have application.js and this file has //=require_tree . and
If you want to include by yourself, delete //=require_tree .
Add js to asset target
config.assets.precompile += ['*.js'] config.assets.debug = true
In case of coffee script, do same thing
Include in view
We can use by default.
Gemfile includes gem ‘jquery-rails’
Add //= require jquery-ui to application.js