correct some rails-best-practices