This project is archived and is in readonly mode.
In development environment 2.3 (edge) query_cache is always off
Reported by Paweł Kondzior | February 20th, 2009 @ 01:07 PM
I have found regression in current 2.3 edge.
After this commit http://github.com/rails/rails/co... in development environment query_cache will be always false.
It's because Dispatcher#reload_application is reset all subclasses on request.
ActiveRecord::Base.reset_subclasses if defined?(ActiveRecord)
This of course only happens for default finds without Model.cache block, that is always defined after reset of subclasses.
Comments and changes to this ticket
-
Paweł Kondzior February 20th, 2009 @ 02:37 PM
There is no query cache in production environment. Probably.
-
josh February 20th, 2009 @ 04:27 PM
- Milestone cleared.
-
josh February 20th, 2009 @ 06:05 PM
- State changed from new to resolved
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>