On Jul 15, 1:02 pm, Lee Farrell <[email protected]> wrote:
> Hi,
>
> I am serializing an attribute in my model with serialize :data
>
> The data in question is a hash defined as
>

> which is different to the above (which actually worked for me)
>
> I am not sure what is going on, as I am using the exact same codebase.
>

The difference is that you now cannot use strings and symbols
interchangeably  as keys for this hash. The most common way to come
across such hashes (other than creating them explicitly) is via the
params hash (and its subhashes) which are always
HashWithIndifferentAccess instances
Are you saying that you did a deploy that did not change a single line
of code in the entire app (and there were not changes in version of
the various gems you might use) ?

What does the code that sets this hash look like?

Fred

> Anyone have any ideas?
>
> thanks
>
> --
> Posted viahttp://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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-talk?hl=en.

Reply via email to