rack/rack — pull request #428 by leifg (2012-09-05 12:24:11+00:00)
Title: Stringify the keys in SessionHash#merge

As mentioned in #427 the merge! method does not take care of stringifying the keys. That leads to errors if you add symbol (or other non-string) keys as the values will never be read as the fetch converts everything to a string:

def [](key)
load_for_read!
super(key.to_s)
end