• J
    Fix issue #23625 · 55385c8a
    Jon Moss 提交于
    This resolves a bug where if the primary key used is not `id` (ex:
    `uuid`), and has a `validates_uniqueness_of` in the model, a uniqueness error
    would be raised. This is a partial revert of commit `119b9181`, which introduced this behavior.
    55385c8a
uniqueness.rb 11.3 KB