aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-11-13 11:06:40 -0800
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-11-13 11:06:40 -0800
commitaac032073de638d3fcad5d878ae7d42354c9cee8 (patch)
tree5bb201db68f6a8d422169e40fb6976f6264e0855 /activerecord/test/fixtures
parent5ed0381db5e6dff1269f3f22ec4fa69c203c37d9 (diff)
parent05e1466e059a12bddd066a9f22ca575d81cfc21d (diff)
downloadrails-aac032073de638d3fcad5d878ae7d42354c9cee8.tar.gz
rails-aac032073de638d3fcad5d878ae7d42354c9cee8.tar.bz2
rails-aac032073de638d3fcad5d878ae7d42354c9cee8.zip
Merge pull request #8188 from courtland/habtm-fix-stable
Fix deleting from a HABTM join table upon destroying an object of a mode...
Diffstat (limited to 'activerecord/test/fixtures')
-rw-r--r--activerecord/test/fixtures/peoples_treasures.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/peoples_treasures.yml b/activerecord/test/fixtures/peoples_treasures.yml
new file mode 100644
index 0000000000..a72b190d0c
--- /dev/null
+++ b/activerecord/test/fixtures/peoples_treasures.yml
@@ -0,0 +1,3 @@
+michael_diamond:
+ rich_person_id: <%= ActiveRecord::Fixtures.identify(:michael) %>
+ treasure_id: <%= ActiveRecord::Fixtures.identify(:diamond) %>