Project

General

Profile

Actions

Patch #229

closed

Database Sessions Enabled -- Patch for Feature Request #13648

Added by Eric Smith over 16 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Here is the migration created by running rake db:sessions:create.


Files

066_add_sessions.rb (335 Bytes) 066_add_sessions.rb Eric Smith, 2008-02-03 11:01
Actions #1

Updated by Cyril Mougel over 16 years ago

it's not enought. You need define in your environnement.rb a
config :

config.action_controller.session_store = :active_record_store

if you not use this configuration you don't use this session
store in your database.

Maybe made a rake file which create and apply this migration
is better. Because you need delete it after. If you don't delete
it you can be problem with the future migration.

Actions #2

Updated by Felix Schäfer almost 14 years ago

  • Status changed from New to Closed

AFAIK we have cookie sessions now.

Actions

Also available in: Atom PDF