diff options
Diffstat (limited to 'activerecord/test/models/uuid_item.rb')
-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 |