diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2016-02-23 12:24:07 -0700 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2016-02-23 12:24:07 -0700 |
commit | 96c1ada82d90810df92f402da0c063e8bc0d01ed (patch) | |
tree | 817df8fe90e462c1e216cf73f5c12f6dcab72eea /activerecord/test/models | |
parent | 3adc35aefa7e5f58fe0e7d6678daeaa5e47dd7df (diff) | |
parent | 55385c8a39117f5c1b78fcb703f9d7ac14d97d12 (diff) | |
download | rails-96c1ada82d90810df92f402da0c063e8bc0d01ed.tar.gz rails-96c1ada82d90810df92f402da0c063e8bc0d01ed.tar.bz2 rails-96c1ada82d90810df92f402da0c063e8bc0d01ed.zip |
Merge pull request #23628 from maclover7/fix-23625
Fix issue #23625
Diffstat (limited to 'activerecord/test/models')
-rw-r--r-- | activerecord/test/models/uuid_item.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/test/models/uuid_item.rb b/activerecord/test/models/uuid_item.rb new file mode 100644 index 0000000000..2353e40213 --- /dev/null +++ b/activerecord/test/models/uuid_item.rb @@ -0,0 +1,6 @@ +class UuidItem < ActiveRecord::Base +end + +class UuidValidatingItem < UuidItem + validates_uniqueness_of :uuid +end |