Are you working in development mode or have class caching disabled?
Often you can find systems working in development mode to run some problems. It's not that important when you are working, and you can just restart the dev server, but it can be very annoying if you have a working system.
The key issue is config / environment / development.rb:
config.cache_classes = false
This not only slows down the response time, but can lead to a slow memory leak and unpredictable behavior over time.
source
share