I finally got around to timezone-ifying my project management webapp (yeah, I know, who hasn’t written their own clone of Basecamp?
), and found some great instructions for adding TZInfo to your app. Only problem was that after logging in and viewing the first page, all further requests just timed out or returned instantly with an error of Rails not being able to start correctly. After poking everything I could think of, I discovered that Rails chokes on restoring the new User object which I had stored in a session variable.
I ended up removing the timezone magic from the User object, and instead adding a couple of helper functions to get the same functionality, but without the funky ruby magic.
