ActiveRecord provides validations on app level but it won't guarantee the
consistent. In some cases, like `validates_uniqueness_of` it executes
additional SQL query to the database and that is not very efficient.
The main goal of the gem is to provide compatibility between database constraints
and ActiveRecord validations with better performance and consistency.