Lets say I have this Hash:
{
:info => [
{
:from => \"Ryan Bates\",
:message => \"sup bra\",
:time => \"04:35 AM\"
You can't use that option like this
ActiveSupport::JSON.decode(str_json, symbolize_names: true)
In Rails 4.1 or later,
ActiveSupport::JSON.decodeno longer accepts an options hash for MultiJSON. MultiJSON reached its end of life and has been removed.
You can use symbolize_keys to handle it. Warning: It works only for JSON strings parsed to hash.
ActiveSupport::JSON.decode(str_json).symbolize_keys