# Active record sessions 2.3.3

**URL:** <https://www.ruby-forum.com/t/active-record-sessions-2-3-3/173205>\
**Category:** Rails\
**Created:** [August 4, 2009, 10:50pm UTC](https://www.ruby-forum.com/t/active-record-sessions-2-3-3/173205 "2009-08-04T22:50:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thumbrule](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/51bf81/32.png) [@thumbrule](https://www.ruby-forum.com/u/thumbrule)\
**Post date:** [August 4, 2009, 10:50pm UTC](https://www.ruby-forum.com/t/active-record-sessions-2-3-3/173205/1 "2009-08-04T22:50:47Z")

</div>

Hi,

I am trying to store the session in db and i followed these steps

a.) rake db:session:create  
b.) db migrate --\> this created the table. I see the table in the db  
now.  
c.) Uncommented the ActionController::Base.session\_store  
= :active\_record\_store line in session\_store.rb file in initializers.

I get no records in the db and also - if i do debug session — i see  
no id. ANy ideas what i could be missing? I recently switched to 2.3.3  
and this is the first time i am trying to set up an activerecord  
session table in it.

D
