diff options
author | Nick Rogers <ncrogers@gmail.com> | 2012-03-07 17:16:21 -0500 |
---|---|---|
committer | Nick Rogers <ncrogers@gmail.com> | 2012-11-13 10:36:24 -0800 |
commit | 05e1466e059a12bddd066a9f22ca575d81cfc21d (patch) | |
tree | 5bb201db68f6a8d422169e40fb6976f6264e0855 /activerecord/test/fixtures/peoples_treasures.yml | |
parent | 5ed0381db5e6dff1269f3f22ec4fa69c203c37d9 (diff) | |
download | rails-05e1466e059a12bddd066a9f22ca575d81cfc21d.tar.gz rails-05e1466e059a12bddd066a9f22ca575d81cfc21d.tar.bz2 rails-05e1466e059a12bddd066a9f22ca575d81cfc21d.zip |
Fix deleting from a HABTM join table upon destroying an object of a model with optimistic locking enabled. Fixes #5332.
Diffstat (limited to 'activerecord/test/fixtures/peoples_treasures.yml')
-rw-r--r-- | activerecord/test/fixtures/peoples_treasures.yml | 3 |
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) %> |