[rspec-users] session vs. controller.session

Scott Taylor scott at railsnewbie.com
Thu Jan 29 16:50:37 EST 2009

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

> 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:
> http://gist.github.com/54673
> 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?

Nevermind.  It was a bug in rails HEAD.



More information about the rspec-users mailing list