Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Jim Ruther Nill's Profile

GitHub User: jvnill

Site: jvnill.wordpress.com

Comments by Jim Ruther Nill

Avatar

I think Ryan just wanted to demonstrate a basic helper so he didn't do it the way you described. Of course, yours is much more flexible than Ryan's version.