Don't use instance variable in helper

This enables the helpers to work for controllers with names other than
RecordsController