RailsCasts Pro episodes are now free!

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.