In my frozen 1.2.3 app, the TestSession source code contains this:
def [](key)
data[key.to_s]
end
def []=(key, value)
data[key.to_s] = value
end
but in my newly-frozen 2.02 app, the TestSesison source contains this:
def [](key)
data[key]
end
def []=(key, value)
data[key] = value
end
I found this when attempting to track down why one of my tests was
failing after upgrading to 2.0.2. My application stores session data
using a symbol, but the test code was testing it by using a string.
This worked under 1.2.3 but the test now fails under 2.0.2.
Should I fix my test because this is desired new behavior? Or submit
a patch instead?
Thanks!
Jeff
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---