Sign in Sign up
rubygems

consistency_fail

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.

Activity

Latest release
7y ago
Total releases
13
Cadence
~6 months
Last 12 months
0

Details

License
MIT
First release
Jun 10, 2011
Releases
Version Released
0.3.7 patch
0.3.6 patch
0.3.5 patch
0.3.4 patch
0.3.3 patch
0.3.2 patch
0.3.1 patch
0.3.0 minor
0.2.2 patch
0.2.1 patch
0.1.1 patch
0.1.0 initial
0.2.0 minor