This project is archived and is in readonly mode.

#2026 ✓resolved
Paweł Kondzior

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 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

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=""></a>

People watching this ticket