I am using activerecord for saving my sessions.
I have added a user_id field to my sessions table
how can i save the user id to this table once the user logs on for the
CGI::Session::ActiveRecordStore::Session.user_id = current_user.id
i am trying the above line but its not working. Any ideas?