I recently upgraded my application to rails 3.1 and generally everything seems to be working but one thing is driving me insane.
I have 2 main js files, we\'ll call the
Have a look at your development log and see what it says when the application.js is served.
It should look something like this for a normal request (you browsed to a page):
Started GET "/assets/application.js" for 127.0.0.1 at Fri Sep 30 12:13:27 +1300 2011 Served asset /application.css - 304 Not Modified (2ms)
If not you may have not set the pipeline options correctly. One of the production settings might be in the wrong place. Section 9 of the asset pipeline guide has a checklist of correct settings for a migrated app.