aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/warehouse_thing.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/fixtures/warehouse_thing.rb')
-rw-r--r--activerecord/test/fixtures/warehouse_thing.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/warehouse_thing.rb b/activerecord/test/fixtures/warehouse_thing.rb
new file mode 100644
index 0000000000..6ace1183cc
--- /dev/null
+++ b/activerecord/test/fixtures/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