RailsCasts Pro episodes are now free!

Learn more or hide this

GMFlash's Profile

GitHub User: GMFlash

Comments by

Avatar

It's a new syntax introduced in Ruby 1.9 for hashes that use symbols as keys.

{class: "none"} is equivalent to {:class => "none"}