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
----+------------+------+------------
(0 rows)
The data seems to be stored somewhere...I''m just not sure where. Any
ideas?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---