Tidy ActiveRedord class