Tested with rails 3.2.2 and 3.2.3, although old version should be affected as well.
Probably it's because of the override of Hash#require_keys!
I've removed Hash#require_keys! and pushed a new gem.
I couldn't reproduce this, could you please confirm that it's working now? (I agree that it's a probable cause)
Thank you for reporting this!
just checked it after a long time, and it's still misbhevaing
Happens just by including elk in my Gemfile, are you not encountering this?
Using rails 3.2.3, btw.
I have the same problem when trying to serialize an AR model to json
Ok, got curious and looks like it might be because of json_pure - flori/json#33
What do you guys think of multi_json?
Looks like the least intrusive way to get "good" json support.
I've pushed some code to a multi_json-branch, I'll try to do some more extensive testing with Rails 3.2.3 in a few days, and then push a new gem.
Just tested and it works perfectly with multi_json. Thanks :)