aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-10-23 06:18:42 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-10-23 06:18:42 +0000
commit28729a4829c68409717ecf82a6b407672ff5fa7d (patch)
treeb4bb1841c1a787ce84227dd7045abc4b2d114b47 /activerecord/test/fixtures
parent6a35ed16c2c28c146a1da799983db56e3ca99e2e (diff)
downloadrails-28729a4829c68409717ecf82a6b407672ff5fa7d.tar.gz
rails-28729a4829c68409717ecf82a6b407672ff5fa7d.tar.bz2
rails-28729a4829c68409717ecf82a6b407672ff5fa7d.zip
validates_uniqueness_of behaves well with abstract superclasses. References #3833, closes #9886.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8000 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures')
-rw-r--r--activerecord/test/fixtures/db_definitions/schema.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/db_definitions/schema.rb b/activerecord/test/fixtures/db_definitions/schema.rb
index 88f99f51ac..dcb6222cd3 100644
--- a/activerecord/test/fixtures/db_definitions/schema.rb
+++ b/activerecord/test/fixtures/db_definitions/schema.rb
@@ -289,4 +289,10 @@ ActiveRecord::Schema.define do
t.column :message, :string, :null=>false
t.column :developer_id, :integer, :null=>false
end
+
+ create_table :inept_wizards, :force => true do |t|
+ t.column :name, :string, :null => false
+ t.column :city, :string, :null => false
+ t.column :type, :string
+ end
end