Displaying 1 result from an estimated 1 matches for "6695079125_10151776148744126".
2013 Mar 05
0
unserializing hash with unquoted strings
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 co...