# Rails3.0.0Beta4 setting session store to database

**URL:** <https://www.ruby-forum.com/t/rails3-0-0beta4-setting-session-store-to-database/190929>\
**Category:** Rails\
**Created:** [July 1, 2010, 1:50am UTC](https://www.ruby-forum.com/t/rails3-0-0beta4-setting-session-store-to-database/190929 "2010-07-01T01:50:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Obelix](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/e68b1a/32.png) [@Obelix](https://www.ruby-forum.com/u/Obelix)\
**Post date:** [July 1, 2010, 1:50am UTC](https://www.ruby-forum.com/t/rails3-0-0beta4-setting-session-store-to-database/190929/1 "2010-07-01T01:50:09Z")

</div>

I am porting a Rails 2.3.8 app to Rails 3.0.0Beta4. I can’t get the  
session to be written to the database instead of cookies.

I do the following in config/environments/development.rb

config.session\_store(:active\_record\_store)

The session store is set correctly - I verify that by dumping config  
after the set.

What am I missing? Thanks.
