aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2011-01-07 19:12:37 +0000
committerAaron Patterson <aaron.patterson@gmail.com>2011-01-11 13:45:06 -0800
commitc6e10b0f600a56e962ff7d1614c50fca20630379 (patch)
tree790c400d45f2c5316aff05475b295990764e80ce /activerecord/test/fixtures
parent665880c0809b563d3afaeadd073f5d0b6289a42e (diff)
downloadrails-c6e10b0f600a56e962ff7d1614c50fca20630379.tar.gz
rails-c6e10b0f600a56e962ff7d1614c50fca20630379.tar.bz2
rails-c6e10b0f600a56e962ff7d1614c50fca20630379.zip
has_one should always remove the old record (properly), even if not saving the new record, so we don't get the database into a pickle
Diffstat (limited to 'activerecord/test/fixtures')
-rw-r--r--activerecord/test/fixtures/ships.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/ships.yml b/activerecord/test/fixtures/ships.yml
index 137055aad1..df914262b3 100644
--- a/activerecord/test/fixtures/ships.yml
+++ b/activerecord/test/fixtures/ships.yml
@@ -1,5 +1,6 @@
black_pearl:
name: "Black Pearl"
+ pirate: blackbeard
interceptor:
id: 2
name: "Interceptor"