diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-02-25 23:32:24 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-02-25 23:32:24 +0000 |
commit | c350291ae7f9f0014d25575a1f0f13070c0b1c0c (patch) | |
tree | 868010a934c22cf27c1693309e5b0e1e2726b591 /activerecord/test/fixtures | |
parent | 67a978be5d6857785c08b464b0ef4555298da14b (diff) | |
download | rails-c350291ae7f9f0014d25575a1f0f13070c0b1c0c.tar.gz rails-c350291ae7f9f0014d25575a1f0f13070c0b1c0c.tar.bz2 rails-c350291ae7f9f0014d25575a1f0f13070c0b1c0c.zip |
Fixed that reflections would bleed across class boundaries in single-table inheritance setups (closes #3796) [lars@pind.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3650 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures')
-rwxr-xr-x | activerecord/test/fixtures/company.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/company.rb b/activerecord/test/fixtures/company.rb index d4a68900fe..5d53898802 100755 --- a/activerecord/test/fixtures/company.rb +++ b/activerecord/test/fixtures/company.rb @@ -3,6 +3,8 @@ class Company < ActiveRecord::Base set_sequence_name :companies_nonstd_seq validates_presence_of :name + + has_one :dummy_account, :foreign_key => "firm_id", :class_name => "Account" end |