Forum: RSpec session vs. controller.session

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Scott T. (Guest)
on 2009-01-29 21:13
(Received via mailing list)
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 T. (Guest)
on 2009-01-29 23:58
(Received via mailing list)
On Jan 29, 2009, at 1:57 PM, Scott T. wrote:

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

This topic is locked and can not be replied to.