- Skip checking of foreign keys and unique indexes presence for abstract classes.
- Add
rescue: :default|:always
option toDbUniquenessValidator
.
- Add support of Ruby 3. Thanks John Duff for the contribution.
- Remove deprecation warning when
connection_config
is used in Rails 6.1 (Use connection_db_config instead). Thanks Alfonso Uceda for the contribution.
- Respect
validate: false
option when usingsave/save!
for Rails 5+. Thanks Arkadiy Zabazhanov for the contribution.
- Add support of different
mode
toDbUniquenessValidator
. Thanks Arkadiy Zabazhanov for the contribution.
- Fix a warning message from newest Ruby version
- Fix support of newest MySQL version
- Add case sensitive option to
validate_db_uniqueness_of
RSpec matcher
- Change the way of storing database validations
- Improve performance
- Refactor
- New syntax sugar
- Internal improvements
- We raise an error if
scope
orwhere
options are missed for thevalidates_db_uniqueness_of
- Hot-fix for
validate_db_uniqueness_of
RSpec matcher
- Hot-fix for
validates_db_uniqueness_of
- Refactor and performance improvement
- Refactor and slight performance improvement
- Fix a behavior for 3rd parties such as
simple_form
- Fix a bug for
db_belongs_to
, validation should checkblank?
notnil?
- Fix bug for
db_belongs_to
when we skip other validations if the relation is missing
- Fix RuboCop cop for
validates_db_uniqueness_of
to catchvalidates_uniqueness_of
definition too.
- Add RuboCop cop for
db_belongs_to
andvalidates_db_uniqueness_of
- Add
db_belongs_to
- Add support of
case_sensitive
option forvalid?
forPostgreSQL
- Extend RSpec matcher to accept instance of model
- Fix rake task issue for rails
- Adjust RSpec matcher to support
index_name
option
- Add support of
index_name
option toPostgreSQL
andMySQL
databases