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.
[email protected] is safe to use (health: 48/100)
Get this data programmatically — free, no authentication.
curl https://depscope.dev/api/check/rubygems/consistency_failLast updated · 2018-10-22T12:21:58.268Z