Forum: Ruby on Rails Question about active_record_store

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Rick S. (Guest)
on 2007-02-21 22:17
(Received via mailing list)
I am not understanding the behavior of session storage with

In environment.rb, I uncommented
   config.action_controller.session_store = :active_record_store

I have this line in a controller (that does get executed)
   session[:user_id] =

I would think that this should store something in the database.  But the
session table is empty:
x_development=# select * from sessions;
 id | session_id | data | updated_at
(0 rows)

The data seems to be stored somewhere...I'm just not sure where.  Any
Rick (Guest)
on 2007-02-21 23:53
(Received via mailing list)
Never mind.  I needed to restart the server after making the change in
This topic is locked and can not be replied to.