Fix issue #23625
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.
Showing
想要评论请 注册 或 登录