From: Brian Candler Date: 2012-07-31T02:50:00+09:00 Subject: Re: How to test whether a session variable has a particular key Doug Jolley wrote in post #1070696: > Although a session variable behaves like a hash for purposes of setting > and retrieving values, the documentation tells us that the similarity > ends there. It is not a real hash and therefore does not support > methods like, "has_key?". What is the recommended methodology for > determining whether a session variable has a particular key? Thanks for > any input. This is only a guess, but are you asking a question about Rails? This is the mailing list for Ruby, the programming language. Rails is an application/framework which just happens to be written in Ruby. It has its own mailing lists and forums. Regards, Brian. -- Posted via http://www.ruby-forum.com/.