Sign in through GitHub

Please read for an updated status on RailsCasts:

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"}