aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/matey.rb
diff options
context:
space:
mode:
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