Question about active_record_store

I am not understanding the behavior of session storage with active_record_store.

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] = 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

Never mind. I needed to restart the server after making the change in environment.rb.

Rick,

The only thing to do, so once you make the change in environment.rb, is to restart the server.

cheers </jima>