code-scouts / green_mercury

New members.codescouts.org
Apache License 2.0
2 stars 17 forks source link

Uniquify index on concepts.name #57

Open ErinCall opened 11 years ago

ErinCall commented 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.

arielspear commented 10 years ago

I am going to try to do this.

shawnacscott commented 10 years ago

Pairing with @arielspear on this!