diff options
Diffstat (limited to 'activerecord/test/models/warehouse_thing.rb')
-rw-r--r-- | activerecord/test/models/warehouse_thing.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/test/models/warehouse_thing.rb b/activerecord/test/models/warehouse_thing.rb new file mode 100644 index 0000000000..6ace1183cc --- /dev/null +++ b/activerecord/test/models/warehouse_thing.rb @@ -0,0 +1,5 @@ +class WarehouseThing < ActiveRecord::Base + set_table_name "warehouse-things" + + validates_uniqueness_of :value +end
\ No newline at end of file |