Archive for the ‘work’ Category
Rails Sessions
Saturday, July 28th, 2007It’s been sort of a crazy week at work.
Make that two weeks.
My current project involves doing a lot of digging into the way Rails handles sessions, which it does through the CGI::Session object provided by the Ruby standard library. I to find a way to load a session by parameter instead of by cookie, which is infinitely more difficult than you’d think — although the class itself allows you to specify the ID of the session, I have yet to find the component inside Rails that instantiates the session and could thus be overloaded to provide this functionality. Eventually I found a neat hack, but afterwards I found a better solution to my original problem.
Then I slept for 15 hours. Now it’s probably time to do a little font design.
