RubyGems Navigation menu

consistency_fail 0.3.4

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.

Versions:

  1. 0.3.4 - February 2, 2016 (14 KB)
  2. 0.3.3 - December 12, 2014 (12.5 KB)
  3. 0.3.2 - July 23, 2013 (11.5 KB)
  4. 0.3.1 - July 18, 2013 (11.5 KB)
  5. 0.3.0 - January 18, 2013 (11 KB)
Show all versions (10 total)

Authors:

  • Colin Jones

Owners:

E16bc9c356b65d61ee1d74c8f06ae35b

SHA 256 checksum:

bff51e158c0c7446c7f472ac693688d5b3ca5cb2244eef63164f23abde16cb0b

Total downloads 36,278

For this version 404

Show all versions (10 total)

Gemfile:
= Copy to clipboard Copied!

install:
= Copy to clipboard Copied!

License:

MIT

Required Ruby Version: >= 0

Links: