working with rails, active record, validations, constraints, and TDD