aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2013-04-03 09:56:43 -0700
committerDavid Heinemeier Hansson <david@loudthinking.com>2013-04-03 09:56:43 -0700
commit9035cfc0dfc2a34b27df926afd6dd1b7862c1076 (patch)
tree0837534502212349cef63fb46a4329e519885002 /activerecord/test/fixtures
parentdb924e1257f37dff441fee7c6e2bbd8ba382d7a6 (diff)
parent8fccbc1ad4fff215c63d17b9321fc69ad17e89dc (diff)
downloadrails-9035cfc0dfc2a34b27df926afd6dd1b7862c1076.tar.gz
rails-9035cfc0dfc2a34b27df926afd6dd1b7862c1076.tar.bz2
rails-9035cfc0dfc2a34b27df926afd6dd1b7862c1076.zip
Merge pull request #9141 from adamgamble/issue-9091
belongs_to :touch should touch old record when transitioning.
Diffstat (limited to 'activerecord/test/fixtures')
-rw-r--r--activerecord/test/fixtures/toys.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/toys.yml b/activerecord/test/fixtures/toys.yml
index 037e335e0a..07ed75e98e 100644
--- a/activerecord/test/fixtures/toys.yml
+++ b/activerecord/test/fixtures/toys.yml
@@ -2,3 +2,7 @@ bone:
toy_id: 1
name: Bone
pet_id: 1
+doll:
+ toy_id: 2
+ name: Doll
+ pet_id: 2