Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

kyasu1's Profile

GitHub User: kyasu1

Comments by

Avatar

Nice post Ryan as always.

I noticed that if I want to set properties with multi-byte string key or key string with spaces, the following format did not work.

p.properties = {rating: "PG-13", runtime: 107}

I needed to write this like follows in my environment.

p.properties = {"Highest Rating" => "PG-13", "時間" => "107"}