aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/uuid_item.rb
blob: 2353e402137eab9227113c3adf1a82eeb167cef1 (plain) (blame)
1
2
3
4
5
6
class UuidItem < ActiveRecord::Base
end

class UuidValidatingItem < UuidItem
  validates_uniqueness_of :uuid
end