In Ruby 2.3(.0), these are all the same:
{:"a" => 1}
{"a": 1},
{:a => 1}
{a: 1}
They all translate to the same thing: a is a symbol in all these cases.
{"a"=>1} is different: a is a string in this case.
In Ruby 2.3(.0), these are all the same:
{:"a" => 1}
{"a": 1},
{:a => 1}
{a: 1}
They all translate to the same thing: a is a symbol in all these cases.
{"a"=>1} is different: a is a string in this case.