Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support conditions option of UniquenessValidator
Since the `:conditions` option is a callable, we can't know exactly which columns are necessary for the index, and the index is not required to be unique anymore (maybe the conditions make the uniqueness only apply to some records), it's not possible to add an offense when the option is used.
- Loading branch information