This fork is Rails 3.0.3 compatible Treat your sessions like models, not hashes. Intercession mixes a module into the session on each request, allowing you to nicely encapsulate (and test!) lots of user and session-specific behavior.
John Barnette
gem "liangzan-intercession", "~> 3.0.0"