Some rails_best_practise changes