RubyGems Navigation menu

consistency_fail 0.3.0

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:
= Copy to clipboard Copied!

instalar:
=

Versões:

  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 KB)
  4. 0.3.4 - February 02, 2016 (14 KB)
  5. 0.3.3 - December 12, 2014 (12,5 KB)
  6. 0.3.0 - January 18, 2013 (11 KB)
Mostrar todas as versões (13)

Development Dependencies (2):

activerecord ~> 3.0
rspec >= 0

Donos:

Autores:

  • Colin Jones

SHA 256 checksum:

051dde68aac9436c676c8cf1851c32eea4c8e77ed0f96c01a7ba5bf07ff395a8

Total de downloads 618.137

Desta versão 6.579

Licenças:

N/A

Versão Requerida do Ruby: Nenhum

Links: