I’ve upgraded a project from Rails 3.1 to Rails 3.2, and now, while in development, every time I update a model, I need to restart the server for the change to be effective. Changes in views and controllers are effective immediately.
I’m pretty sure it comes from the upgrade because none of my new projects in Rails 3.2 have this issue. I’ve checked the development.rb and application.rb from the old project against ones from new projects, and they’re identical. I can’t seem to find an answer on the net, would anybody know what I should do?
Cheers,
Ben
I also had
warning: already initialized constantmessages popping up all the time so I looked for a fix to this problem. Seems like its solution also fixed my cache problem.Basically you have to uninstall rake and reinstall it via bundle… Answer is here: https://stackoverflow.com/a/7553276/1389981