I am using rails 3.1.3 and making a mountable engine. I placeed the css files in app/assets/stylesheets/(projectnameindowncase)/
and similarly placed the javascript files in app/assets/javascripts/(projectnameindowncase)/
I did not explicitly add the refrences to the stylesheets/javascripts assuming it is taken care of (that’s what i had read). Why is it not working?
You should check out this resource: http://guides.rubyonrails.org/asset_pipeline.html.
I think you most likely need to include a:
tag in your application.html.erb file. This brings in the application.js(.coffee) file, which compiles all of your other javascript into it.
Hope this helps.