Config.action_controller.session_store = :active_record_store

Hi All,

I am new to Rails and learning rails reading ebook ‘Agile web
development using rails’. I am doing samples given in this book
chapter by chapter.

but I stuck when I come to Sessions chapter, they have given that to
enable session to be Database based the line
config.action_controller.session_store = :active_record_store is to be
uncommented from config/environment.rb file. but I am not able to
locate this line in my environement.rb file, What can be happened with
my setup ??

Please help…

I am using Redhat Ent 4 with Ruby 1.8.6 and rails 2.3.2

On Fri, Jun 19, 2009 at 1:16 PM, Mandar[email protected] wrote:

uncommented from config/environment.rb file. but I am not able to
locate this line in my environement.rb file, What can be happened with
my setup ??

Please help…

I am using Redhat Ent 4 with Ruby 1.8.6 and rails 2.3.2

It is now found in config/initializers/session_store.rb

Andrew T.
http://ramblingsonrails.com

http://MyMvelope.com - The SIMPLE way to manage your savings