aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/ratings.yml
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2010-10-09 22:00:33 +0100
committerJon Leighton <j@jonathanleighton.com>2010-10-09 22:00:33 +0100
commitab5a9335020eff0da35b62b86a62ed8587a4d598 (patch)
tree1a1996c8844e359b88d5b30bf3531d22dba83d1b /activerecord/test/fixtures/ratings.yml
parentc954d54e2f36bb53ced5e3655adc071dd233797e (diff)
downloadrails-ab5a9335020eff0da35b62b86a62ed8587a4d598.tar.gz
rails-ab5a9335020eff0da35b62b86a62ed8587a4d598.tar.bz2
rails-ab5a9335020eff0da35b62b86a62ed8587a4d598.zip
Add support for nested through associations in JoinAssociation. Hence Foo.joins(:bar) will work for through associations. There is some duplicated code now, which will be refactored.
Diffstat (limited to 'activerecord/test/fixtures/ratings.yml')
-rw-r--r--activerecord/test/fixtures/ratings.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/ratings.yml b/activerecord/test/fixtures/ratings.yml
new file mode 100644
index 0000000000..34e208efa3
--- /dev/null
+++ b/activerecord/test/fixtures/ratings.yml
@@ -0,0 +1,14 @@
+normal_comment_rating:
+ id: 1
+ comment_id: 8
+ value: 1
+
+special_comment_rating:
+ id: 2
+ comment_id: 6
+ value: 1
+
+sub_special_comment_rating:
+ id: 3
+ comment_id: 12
+ value: 1