Project

General

Profile

Actions

Patch #229

closed

Database Sessions Enabled -- Patch for Feature Request #13648

Patch #229: Database Sessions Enabled -- Patch for Feature Request #13648

Added by Eric Smith over 19 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-

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

Updated by Cyril Mougel about 19 years ago Actions #1

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.

Updated by Felix Schäfer over 16 years ago Actions #2

  • Status changed from New to Closed

AFAIK we have cookie sessions now.

Actions

Also available in: PDF Atom