diff options
Diffstat (limited to 'activerecord/test/fixtures/vertex.rb')
-rw-r--r-- | activerecord/test/fixtures/vertex.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/activerecord/test/fixtures/vertex.rb b/activerecord/test/fixtures/vertex.rb deleted file mode 100644 index 48bb851e62..0000000000 --- a/activerecord/test/fixtures/vertex.rb +++ /dev/null @@ -1,9 +0,0 @@ -# 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 - - has_and_belongs_to_many :sources, - :class_name => 'Vertex', :join_table => 'edges', - :foreign_key => 'sink_id', :association_foreign_key => 'source_id' -end |