search for: legacy_session_data

Displaying 2 results from an estimated 2 matches for "legacy_session_data".

2008 Dec 25
2
Switching to active_record_store session management errors out
Hello, Running Ruby 1.8.6 and Rails 2.2.2 against an Oracle XE database (sigh). I just upgraded Rails from 1.2.3 to 2.2.2, which made my cookie based system for storing session information to error out due to the 4Kb limit. So, I tried to turn on the active_record_store system by un- commenting out the "config.action_controller.session_store = :active_record_store" line in
2007 Jun 08
0
problem with rake db:sessions:clear and session_table_name
...of config/environment.rb: # CGI::Session::ActiveRecordStore::Session.table_name = ''legacy_session_table'' # CGI::Session::ActiveRecordStore::Session.primary_key = ''session_id'' # CGI::Session::ActiveRecordStore::Session.data_column_name = ''legacy_session_data'' I am using this method to set a custom table name in the database for my sessions table. This works fine however there''s a problem with the following rake tasks: rake db:sessions:clear rake db:sessions:create in file: railties/lib/tasks/databases.rb They instead use t...