diff options
author | Tobias Lütke <tobias.luetke@gmail.com> | 2005-12-16 23:24:58 +0000 |
---|---|---|
committer | Tobias Lütke <tobias.luetke@gmail.com> | 2005-12-16 23:24:58 +0000 |
commit | 5f06c483ca6a0434409aa12ec272654bc26735dd (patch) | |
tree | 4d4e05b12d3aa659550e972f65ae5e2712869ff8 /activerecord/test/fixtures/categorizations.yml | |
parent | 85fe1ecaefe415ac1de36883f5f6162f49bd5287 (diff) | |
download | rails-5f06c483ca6a0434409aa12ec272654bc26735dd.tar.gz rails-5f06c483ca6a0434409aa12ec272654bc26735dd.tar.bz2 rails-5f06c483ca6a0434409aa12ec272654bc26735dd.zip |
Fixed :through relations when using STI inherited classes would use the inherited class's name as foreign key on the join model
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3315 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures/categorizations.yml')
-rw-r--r-- | activerecord/test/fixtures/categorizations.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/activerecord/test/fixtures/categorizations.yml b/activerecord/test/fixtures/categorizations.yml index a93fd6b79e..f8701fbde0 100644 --- a/activerecord/test/fixtures/categorizations.yml +++ b/activerecord/test/fixtures/categorizations.yml @@ -2,4 +2,10 @@ david_welcome_general: id: 1 author_id: 1 post_id: 1 - category_id: 1
\ No newline at end of file + category_id: 1 + +mary_thinking_sti: + id: 2 + author_id: 2 + post_id: 2 + category_id: 3
\ No newline at end of file |