RubyGems Navigation menu

consistency_fail 0.2.1

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

installation:
=

Versions:

  1. 0.3.7 October 22, 2018 (14,5 ko)
  2. 0.3.6 October 09, 2018 (14,5 ko)
  3. 0.3.5 February 01, 2017 (14 ko)
  4. 0.3.4 February 02, 2016 (14 ko)
  5. 0.3.3 December 12, 2014 (12,5 ko)
  6. 0.2.1 June 17, 2011 (11 ko)
Voir toutes les versions (13)

Dépendances de Development (2):

activerecord ~> 3.0
rspec >= 0

Propriétaires:

Auteurs:

  • Colin Jones

Total de contrôle SHA 256:

=

Total de téléchargements 672 868

Pour cette version 3 943

Version publiée:

License:

aucune

Version de Ruby requise: None

Liens: