aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/warehouse_thing.rb
blob: f20bd1a24529a06d97f442d2b66cacba6b566617 (plain) (blame)
1
2
3
4
5
class WarehouseThing < ActiveRecord::Base
  self.table_name = "warehouse-things"

  validates_uniqueness_of :value
end