Mandar
2009-Jun-19 11:16 UTC
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
Andrew Timberlake
2009-Jun-19 12:58 UTC
Re: config.action_controller.session_store = :active_record_store
On Fri, Jun 19, 2009 at 1:16 PM, Mandar<manddar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > 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.2It is now found in config/initializers/session_store.rb Andrew Timberlake http://ramblingsonrails.com http://MyMvelope.com - The SIMPLE way to manage your savings