cleaning up rails controllers