aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures
diff options
context:
space:
mode:
authorVictor Costan <costan@gmail.com>2015-06-04 12:27:45 -0400
committerVictor Costan <costan@gmail.com>2015-06-04 12:38:00 -0400
commit2b2f41fd972133b8bfbbc94ebe3bec6b27a0689a (patch)
tree7c8b25bb4451139b0d43c587082ef56d59d964ee /activerecord/test/fixtures
parent7220ffcffd0085b3caee872102b3b28f3ca35c83 (diff)
downloadrails-2b2f41fd972133b8bfbbc94ebe3bec6b27a0689a.tar.gz
rails-2b2f41fd972133b8bfbbc94ebe3bec6b27a0689a.tar.bz2
rails-2b2f41fd972133b8bfbbc94ebe3bec6b27a0689a.zip
Fix crash when loading fixture with belongs_to association defined in abstract base class.
Diffstat (limited to 'activerecord/test/fixtures')
-rw-r--r--activerecord/test/fixtures/doubloons.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/doubloons.yml b/activerecord/test/fixtures/doubloons.yml
new file mode 100644
index 0000000000..efd1643971
--- /dev/null
+++ b/activerecord/test/fixtures/doubloons.yml
@@ -0,0 +1,3 @@
+blackbeards_doubloon:
+ pirate: blackbeard
+ weight: 2