minor refactoring from rails_best_practices