aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/vertex.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/fixtures/vertex.rb')
-rw-r--r--activerecord/test/fixtures/vertex.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/fixtures/vertex.rb b/activerecord/test/fixtures/vertex.rb
index f4c11144de..48bb851e62 100644
--- a/activerecord/test/fixtures/vertex.rb
+++ b/activerecord/test/fixtures/vertex.rb
@@ -1,7 +1,7 @@
# This class models a vertex in a directed graph.
class Vertex < ActiveRecord::Base
has_many :sink_edges, :class_name => 'Edge', :foreign_key => 'source_id'
- has_many :sinks, :through => :sink_edges, :source => :sink
+ has_many :sinks, :through => :sink_edges
has_and_belongs_to_many :sources,
:class_name => 'Vertex', :join_table => 'edges',