I\'ve got a problem with Rails 3.1 assets pipeline. Assets are included twice in development:
This just caused me a problem. Setting the following makes the app work but includes the single application.js file - which I don't want in development:
config.serve_static_assets = false
I had pre-compiled my assets previously (seems to be the cause).
To fix it I did the following:
RAILS_ENV=development rake assets:clean
to clear out tmp/assetsIt was only after I edited application.js so it errored and then corrected it that the applciation.js included in the pages was not the full, precompiled application.js.
I'm not sure if all of those need to be done. I was also re-starting my server along the way.