From 05e1466e059a12bddd066a9f22ca575d81cfc21d Mon Sep 17 00:00:00 2001 From: Nick Rogers Date: Wed, 7 Mar 2012 17:16:21 -0500 Subject: Fix deleting from a HABTM join table upon destroying an object of a model with optimistic locking enabled. Fixes #5332. --- activerecord/test/fixtures/peoples_treasures.yml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 activerecord/test/fixtures/peoples_treasures.yml (limited to 'activerecord/test/fixtures') 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) %> -- cgit v1.2.3