Compare projects
Project comparisons allow you to view any selection of projects side by side just like they're shown on regular categories or in search results. You can try out an example or start yourself by adding a library to the comparison via the input below. You can also easily share your current comparison with others by sending the URL of the current page.
0.0
idxfence cross-references every `validates :column, uniqueness: true`
/ `uniqueness: { scope: ... }` / `validates_uniqueness_of` declaration
in app/models/*.rb against db/schema.rb's create_table blocks, and
flags any whose column set (including scope columns) has no matching
`t.index [...], unique: true`. An ActiveRecord uniqueness validation
only performs a SELECT ... WHERE check at the application layer
before an INSERT -- under real concurrency, two requests can both
pass that check before either commits, landing a genuine duplicate
row despite the validation "working." Rails Guides themselves
document this exact race and recommend a matching DB-level unique
index as the only real fix; plenty of real apps ship with only the
AR-level check.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026