Please sign in to comment.
Encapsulate UniquenessValidator in SuperModel namespace instead of di…
…rectly monkeypatching ActiveModel. With the monkeypatch, if SuperModel was used alongside ActiveRecord, Mongoid or any other library that implemented its own UniquenessValidator, conflicts would occur.
- Loading branch information...
Showing with 2 additions and 2 deletions.