Hi all,
I''ve recently upgraded a rails 3.0.20 app to 4.0.0.beta1 and realize
that
the serialize function must have changed in between (not sure if related to
json security fixes).
In the MySQL database I have for the serialized column:
---
id: 6695079125_10151776148744126
In rails 3 this would be parsed back as string
("6695079125_10151776148744126") while in rails 4 this became integer
(669507912510151776148744126 - with underscore discarded). I notice that in
rails 4 such value would be saved quoted as well. This is all fine and good
but how do I convert existing values in MySQL in to quoted strings so that
rails 4 will be heppy with the data?
Thanks!
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/vD3SOPebOJ0J.
For more options, visit https://groups.google.com/groups/opt_out.