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,175 of 188,756
Downloads: 595,661
Daily
Ranking: 5,459 of 188,734
Downloads: 444
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
12,417 | 143,850 | guard-consistency_fail |
13,931 | 117,054 | rails-audit |
Depends on
Rank | Downloads | Name |
---|---|---|
23 | 760,645,882 | rspec |
35 | 532,686,218 | activerecord |
237 | 131,169,765 | sqlite3 |
Owners
# | Gravatar | Handle |
---|---|---|
1 | trptcolin |