Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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