RailsCasts Pro episodes are now free!

Learn more or hide this

Mike Rumble's Profile

GitHub User: rumble

Comments by Mike Rumble

Avatar

You're probably missing this line in your controller:

helper_method :sort_column, :sort_direction

This makes your 'sort_column' and 'sort_direction' controller methods available in your helper.