I have a toy rails app, 2.3.5 on Debian ‘squeeze’, that uses the
ActiveRecord session store. I can see that it set cookies and
inserts rows into the database table ‘sessions’.
Inside a controller, how do I acquire a reference to the model object
representing the current session? This used to be possible by calling
‘session.model’ but in 2.3.5 there is no ‘model’ method on the session
object.