Categories: None [Edit]
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.
Total
Ranking: 6,179 of 180,469
Downloads: 609,271
Daily
Ranking: 5,029 of 180,459
Downloads: 359
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
12,136 | 151,905 | guard-consistency_fail |
13,976 | 117,770 | rails-audit |
Depends on
Rank | Downloads | Name |
---|---|---|
23 | 768,094,638 | rspec |
34 | 540,269,216 | activerecord |
238 | 132,517,752 | sqlite3 |
Owners
# | Gravatar | Handle |
---|---|---|
1 | trptcolin |