RailsBestPractices fixes

Solves https://github.com/kaspernj/awesome_tasks/issues/105