Allows you to add a uniqueness constraint on an attribute so that when the model is on the other side of a has_many relationship the uniqueness will be respected (in nested circumstances). Rails built-in uniqueness works by issuing an SQL query so in memory objects are not validated properly. -
View it on GitHub