Session vs. controller.session

What exactly is the difference between using controller.session and
session? I though that session was just a proxy controller.session,
but this irb/debug sessions show that it isn’t:

When I call reset_session in the controller, I’m seeing the
controller’s session reset, but not the session() provided in the
spec. Is this intended behavior?

Scott

On Jan 29, 2009, at 1:57 PM, Scott T. wrote:

spec. Is this intended behavior?
Nevermind. It was a bug in rails HEAD.

http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1823-bugpatch-response-and-request-objects-dont-use-the-same-session

Scott