[Rails] Re: Fixing code affected by Unsafe Object Creation Vulnerability in JSON

2013-02-14 Thread devorums
anyone? On Wednesday, February 13, 2013 12:09:17 PM UTC, devo...@gmail.com wrote: > > With the latest JSON gem 1.7.7, its breaking some of my code because I was > using: > > {"json_class":"SomeClass","foo":"bar"} > > So the it doesn't recreate the "SomeClass" object back with the new gem > upda

[Rails] Fixing code affected by Unsafe Object Creation Vulnerability in JSON

2013-02-13 Thread devorums
With the latest JSON gem 1.7.7, its breaking some of my code because I was using: {"json_class":"SomeClass","foo":"bar"} So the it doesn't recreate the "SomeClass" object back with the new gem update, I can make it work by passing in :create_additions => true but that defeats the point of th