Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Michael Moen's Profile

GitHub User: UnderpantsGnome

Site: http://underpantsgnome.com/

Comments by Michael Moen

Avatar

The code from the article is the Rails 3.2+ compliant version of the replacement you supplied. They do the exact same thing but your version wont work in Rails 4.1