mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
6 lines
119 B
Ruby
6 lines
119 B
Ruby
class WarehouseThing < ActiveRecord::Base
|
|
self.table_name = "warehouse-things"
|
|
|
|
validates_uniqueness_of :value
|
|
end
|