- I am using Rails 3.2.13
- In
development.rb , I have config.cache_classes = false - The problem occurs when I use Unicorn or Webrick.
I have really strange behavior. Say I output something in the logs: Rails.logger.warn "Hello"
If I reload the page, I will see "Hello" in the logs. If you delete it, it will disappear. But if I return it back, it will not appear ...
In addition, a simple raise "Fail!" in the model will cause the exception to be raised correctly. But if I remove raise and reload the page, it will still throw an exception.
What's happening?
source share