aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/serialization_test.rb
diff options
context:
space:
mode:
authorJon Moss <me@jonathanmoss.me>2016-02-11 22:58:18 -0500
committerJon Moss <me@jonathanmoss.me>2016-02-18 00:32:38 -0500
commit55385c8a39117f5c1b78fcb703f9d7ac14d97d12 (patch)
treed83c922114fb00f31a533fc98045e368c88b99d7 /activerecord/test/cases/serialization_test.rb
parent310e4418f4db899dcd07ff24f530ef8862c65f8b (diff)
downloadrails-55385c8a39117f5c1b78fcb703f9d7ac14d97d12.tar.gz
rails-55385c8a39117f5c1b78fcb703f9d7ac14d97d12.tar.bz2
rails-55385c8a39117f5c1b78fcb703f9d7ac14d97d12.zip
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 `119b9181ece399c67213543fb5227b82688b536f`, which introduced this behavior.
Diffstat (limited to 'activerecord/test/cases/serialization_test.rb')
0 files changed, 0 insertions, 0 deletions