minor refactoring: rails_best_practices