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.

missing setter for ActiveRecord::SessionStore::Session

#5480

Hi,
there are no ability to set external database as session store.

MyCoolApp::Application.config.session_store :active_record_store

ActiveRecord::SessionStore::Session.connection = ActiveRecord::Base.establish_connection("sessions_#{Rails.env}")

Reported by Alexey Poimtsev · August 28th, 2010 @ 12:06 AM

State: invalid
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. Alexey Poimtsev
    Alexey Poimtsev

    my mistake - solved with

    ActiveRecord::SessionStore::Session.establish_connection("sessions_#{Rails.env}")
    

    August 28th, 2010 @ 12:16 AM

  2. Jeremy Kemper
    Jeremy Kemper
    • State changed from new to invalid
    • Importance changed from to Low

    August 28th, 2010 @ 05:01 AM

  3. bingbing