Hi, all,
Happy new year
Referring to http://guides.rubyonrails.org/asset_pipeline.html, it
seems that ‘require_tree .’ in myapp/app/assets/javascripts/
application.js will include all *.js files in the myapp/app/assets/
javascripts/.
I have a few other *.js files in this directory : parts.js, makes.js
and categories.js.
Here’s an extract from the html file I am viewing:
--------------- Extract start -----------------------
My App --------------- Extract end ----------------------- My 'app/assets/javascripts/application.js' file is: --------------- Extract start ----------------------- //= require jquery //= require jquery_ujs //= require_tree . --------------- Extract end ----------------------- My question: I am using rails 3.1.0 and when I open up a page in the webbrowser and view source, I am not seeing the 3 js files above being included. Why are the 3 files not included? Is require_tree broken? Thank you :) Gordon