I'm converting my Rails 3.1 app from cookie sessions to database
I've added an extra column on the sessions table to save the user_id.
I read the documentation in
http://apidock.com/rails/v3.1.0/ActiveRecord/SessionStore and googled
but can't seem to find a way to set the session's user_id that works.
Can someone help?