Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

In development environment 2.3 (edge) query_cache is always off

#2026

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.

Reported by Paweł Kondzior · February 20th, 2009 @ 01:07 PM

State: resolved
Milestone: none
Assigned to: josh josh
Importance: none

Activity

  1. Paweł Kondzior
    Paweł Kondzior

    There is no query cache in production environment. Probably.

    February 20th, 2009 @ 02:37 PM

  2. josh
  3. josh