RubyGems Navigation menu

consistency_fail 0.3.7

With more than one application server, validates_uniqueness_of becomes a lie. Two app servers -> two requests -> two near-simultaneous uniqueness checks -> two processes that commit to the database independently, violating this faux constraint. You'll need a database-level constraint for cases like these. consistency_fail will find your missing unique indexes, so you can add them and stop ignoring the C in ACID.

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.3.7 - October 22, 2018 (14.5 KB)
  2. 0.3.6 - October 09, 2018 (14.5 KB)
  3. 0.3.5 - February 01, 2017 (14.0 KB)
  4. 0.3.4 - February 02, 2016 (14.0 KB)
  5. 0.3.3 - December 12, 2014 (12.5 KB)
显示所有版本 (共 13 个)

Development 依赖 (3):

activerecord ~> 5.0
rspec ~> 3.2
sqlite3 ~> 1.3

业主:

作者:

  • Colin Jones

SHA 256 校验和:

b162ca8c876af6c0d94f5030fa571b585d43cb06a537809d5dbdd2676ac1d2c0

下载总量 607,839

这个版本 298,221

许可:

MIT

需要的 Ruby 版本: >= 0

链接: