Compiling assets - Thundzz/StackUnderflow GitHub Wiki
You need to compile assets if you want them to work.
Command to do so :
compile_assets: bundle exec rake assets:precompile
This is enabled by default in rails, but you candisable in by going to :
In Rails 3.1, the asset pipeline is enabled by default. It can be disabled in config/application.rb by putting this line inside the application class definition: config.assets.enabled = false
How to remove precompiled assets: http://stackoverflow.com/questions/8556817/uncompile-development-asset-pipeline
/!!!!\ IF YOU HAVE PRECOMPILED ASSETS THEN IT DOES NOT RELOAD THE ASSETS EACH TIME YOU REFRESH THE PAGE
Javascript stopped working, testing : http://stackoverflow.com/questions/11055373/rails-precompile-why-javascript-does-not-work-locally-but-at-heroku-it-works