RubyGems Navigation menu

database_validations 2.1.1

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:
=

インストール:
=

バージョン履歴:

  1. 2.1.1 March 31, 2026 (12.5KB)
  2. 2.1.0 March 31, 2026 (12.5KB)
  3. 2.0.0 March 20, 2026 (11KB)
  4. 1.2.0 February 07, 2026 (11KB)
  5. 1.1.1 March 14, 2022 (11KB)
全てのバージョンを表示(全41件)

Runtime依存関係 (1):

activerecord >= 7.2.0

Development依存関係 (10):

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

所有者:

プッシュ者:

作者:

  • Evgeniy Demin

SHA 256チェックサム:

=

累計ダウンロード数 1,433,008

このバージョンのみ 222

このバージョンがリリースされたのは:

ライセンス:

MIT

必要なRubyのバージョン: >= 3.2.0

リンク: