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
If above mentioned answers fail in your context..
make sure the caching is done by rails.. some times it does not detect changes in asset and serve the older cached version..
use rails c >> Rails.cache.clear or simply delete the caches in tmp dir
rails c
Rails.cache.clear
tmp
[project_dir/tmp/cache/assets"]