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.

Don't load ActiveRecord::SessionStore during intialization if it's not used by the app

#2737

Our app uses CookieStore but I noticed that ActiveRecord::SessionStore was still being loaded (with the DB reflection overhead associated with loading an AR class) during initialization. This patch just changes a conditional from using a constant to string to avoid autoloading the class.

Reported by Luke Melia · May 29th, 2009 @ 03:01 PM

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