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.

Avoid loading AR:SessionStore if not used

#2516

During initialization, a check to see whether ActiveRecord::SessionStore is the configured session store causes the ActiveRecord::SessionStore class to be loaded, adding unnecessary time to startup. This patch avoids that.

Reported by Luke Melia · April 18th, 2009 @ 06:48 AM

State: duplicate
Milestone: 3.x
Assigned to: Ryan Bigg Ryan Bigg
Importance: none

Activity

  1. David Trasbo
    David Trasbo
    • Assigned user set to Ryan Bigg

    +1

    Definitely a useful change. Unfortunately the patch no longer applies. Could you create a new one, Luke? Until then this ticket can be marked as incomplete.

    April 15th, 2010 @ 07:29 PM

  2. Ryan Bigg
    Ryan Bigg
    • State changed from new to incomplete

    April 15th, 2010 @ 10:59 PM

  3. Jeremy Kemper
    Jeremy Kemper
    • Milestone changed from 2.x to 3.x

    May 4th, 2010 @ 06:48 PM

  4. Rohit Arondekar
    Rohit Arondekar
    • Importance changed from to

    Any updates here?

    October 14th, 2010 @ 02:30 PM

  5. Luke Melia
  6. Rohit Arondekar
    Rohit Arondekar
    • State changed from incomplete to duplicate

    Indeed it was. It refers a different ticket though — #2737 Don't load ActiveRecord::SessionStore during intialization if it's not used b...

    Marking this one as duplicate.

    October 14th, 2010 @ 02:37 PM