Patch #229

Database Sessions Enabled -- Patch for Feature Request #13648

Added by Eric Smith about 10 years ago. Updated over 7 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

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

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

History

#1 Updated by Cyril Mougel about 10 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.

#2 Updated by Felix Schäfer over 7 years ago

  • Status changed from New to Closed

AFAIK we have cookie sessions now.

Also available in: Atom PDF