RubyGems Navigation menu

database_validations 2.0.0

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.

Gemfile:
=

instalar:
=

Versiones:

  1. 2.1.1 March 31, 2026 (12,5 KB)
  2. 2.1.0 March 31, 2026 (12,5 KB)
  3. 2.0.0 March 20, 2026 (11 KB)
  4. 1.2.0 February 07, 2026 (11 KB)
  5. 1.1.1 March 14, 2022 (11 KB)
Mostrar todas las versiones (41 total)

dependencias de Runtime (1):

activerecord >= 7.2.0

dependencias de Development (10):

bundler >= 0
mysql2 >= 0
pg >= 0
rake >= 0
rspec >= 0
rubocop >= 0
sqlite3 >= 0

Propietarios:

Subida por:

Autores:

  • Evgeniy Demin

SHA 256 checksum:

=

Total de descargas 1.430.797

Para esta versión 19.191

Versión publicada:

Licencia:

MIT

Versión de Ruby requerida: >= 3.2.0

Enlace: