json_record icon indicating copy to clipboard operation
json_record copied to clipboard

Handle degenerate forms of json emptiness

Open rjharmon opened this issue 13 years ago • 1 comments

When the json is %q[""] or %q[''], json_record was barfing after parsing the json, expecting the decoded thing to be a hash already. Fixed.

rjharmon avatar Apr 03 '12 22:04 rjharmon

Test ran fine on ActiveRecord 3 against master, but I needed to apply it to active_record_2 branch, so I made it. It seems to work fine on both versions of AR simply with a cherry-pick.

rjharmon avatar Apr 03 '12 22:04 rjharmon