Forum: RSpec session vs. controller.session

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
369b9fd2a0d9e7cdbc60907a2a056ad9?d=identicon&s=25 Scott Taylor (Guest)
on 2009-01-29 20: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:

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?

Scott
369b9fd2a0d9e7cdbc60907a2a056ad9?d=identicon&s=25 Scott Taylor (Guest)
on 2009-01-29 22:58
(Received via mailing list)
On Jan 29, 2009, at 1:57 PM, Scott Taylor wrote:

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

http://rails.lighthouseapp.com/projects/8994-ruby-...

Scott
This topic is locked and can not be replied to.