Forum: Ruby on Rails Session with Indifferent Access?

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.
Avdi G. (Guest)
on 2006-02-27 18:26
(Received via mailing list)
I noticed yesterday that, unlike many of the the hash-like objects in
Rails,
the session object doesn't have indifferent access.  E.g.
@session['user']
is not the same as @session[:user].  This violated my POLS, and caused
me
some  confusion until I finally figured out what was happening.  Does
anyone
else find this inconsistent, or am I just being picky?  Is it worth
submiting as a bug report?

~Avdi
This topic is locked and can not be replied to.