From ebe3a0d532152d47f270ffaa0e11b994f4a8b177 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Sat, 5 Jan 2008 14:58:28 +0000 Subject: More thoroughly quote table names. Exposes some issues with sqlite2 adapter. Closes #10698. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8571 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/fixtures/warehouse_thing.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 activerecord/test/fixtures/warehouse_thing.rb (limited to 'activerecord/test/fixtures/warehouse_thing.rb') 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 -- cgit v1.2.3