class ActionDispatch::Request::Session

def [](key)

nil if the given key is not found in the session.
Returns value of the key stored in the session or
def [](key)
  load_for_read!
  @delegate[key.to_s]
end