RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: mmitchell
hash = { :key => "value"} can be shorted to hash = { key: "value"} in Ruby 1.9 and up. You are likely running an older version of Ruby.
hash = { :key => "value"} can be shorted to hash = { key: "value"} in Ruby 1.9 and up. You are likely running an older version of Ruby.