aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/matey.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-11-26 22:45:43 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-11-26 22:45:43 +0000
commit8b3f83105ce719642a8f079f72c4f03c97cfc321 (patch)
tree86fd9a3b6e69a25cbddb904ce8d3bb5edb4eca34 /activerecord/test/fixtures/matey.rb
parent1370d1578727bdbfee06ccdf2109e8ca5649a652 (diff)
downloadrails-8b3f83105ce719642a8f079f72c4f03c97cfc321.tar.gz
rails-8b3f83105ce719642a8f079f72c4f03c97cfc321.tar.bz2
rails-8b3f83105ce719642a8f079f72c4f03c97cfc321.zip
Foxy fixtures: allow mixed usage to make migration easier and more attractive. Closes #10004.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8218 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures/matey.rb')
-rw-r--r--activerecord/test/fixtures/matey.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/fixtures/matey.rb b/activerecord/test/fixtures/matey.rb
index 86442e0470..47b0baa974 100644
--- a/activerecord/test/fixtures/matey.rb
+++ b/activerecord/test/fixtures/matey.rb
@@ -1,4 +1,4 @@
class Matey < ActiveRecord::Base
belongs_to :pirate
- belongs_to :target, :class_name => 'Pirate', :foreign_key => 'target_id'
+ belongs_to :target, :class_name => 'Pirate'
end