Javascript is cached in development mode with asset pipeline

后端 未结 8 1012
感动是毒
感动是毒 2021-02-07 07:53

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

8条回答
  •  佛祖请我去吃肉
    2021-02-07 08:49

    I had the same issue and found that removing the asset digests in development fixed the issue. Make sure you set it to false in developmen.rb:

    config.assets.digest = false
    

提交回复
热议问题