Open ErinCall opened 11 years ago
It shouldn't be possible to create two concepts with the same name. Create a unique index, validate_uniqueness_of :name, and add a RecordExistsError handler in the ConceptsController.
I am going to try to do this.
Pairing with @arielspear on this!
It shouldn't be possible to create two concepts with the same name. Create a unique index, validate_uniqueness_of :name, and add a RecordExistsError handler in the ConceptsController.