Sha256: 76ab7829ec18ee2718242a94a6d1259370d17847eee34f86c5c223b01faaa1fd

Contents?: true

Size: 233 Bytes

Versions: 223

Compression:

Stored size: 233 Bytes

Contents

# This class models an edge in a directed graph.
class Edge < ActiveRecord::Base
  belongs_to :source, :class_name => 'Vertex', :foreign_key => 'source_id'
  belongs_to :sink,   :class_name => 'Vertex', :foreign_key => 'sink_id'
end

Version data entries

223 entries across 220 versions & 30 rubygems

Version Path
backlog-0.7.9 vendor/rails/activerecord/test/fixtures/edge.rb
backlog-0.8.0 vendor/rails/activerecord/test/fixtures/edge.rb
backlog-0.9.0 vendor/rails/activerecord/test/fixtures/edge.rb
backlog-0.8.1 vendor/rails/activerecord/test/fixtures/edge.rb
backlog-0.9.1 vendor/rails/activerecord/test/fixtures/edge.rb
radiant-0.6.1 vendor/rails/activerecord/test/fixtures/edge.rb
radiant-0.6.0 vendor/rails/activerecord/test/fixtures/edge.rb
radiant-0.6.2 vendor/rails/activerecord/test/fixtures/edge.rb
radiant-0.6.3 vendor/rails/activerecord/test/fixtures/edge.rb
radiant-0.6.5.1 vendor/rails/activerecord/test/fixtures/edge.rb
radiant-0.6.4 vendor/rails/activerecord/test/fixtures/edge.rb
radiant-0.6.5 vendor/rails/activerecord/test/fixtures/edge.rb
radiant-0.6.7 vendor/rails/activerecord/test/fixtures/edge.rb
radiant-0.6.6 vendor/rails/activerecord/test/fixtures/edge.rb
radiant-0.6.9 vendor/rails/activerecord/test/fixtures/edge.rb
radiant-0.6.8 vendor/rails/activerecord/test/fixtures/edge.rb
radiant-0.7.0 vendor/rails/activerecord/test/models/edge.rb
radiant-0.8.0 vendor/rails/activerecord/test/models/edge.rb
radiant-0.7.1 vendor/rails/activerecord/test/models/edge.rb
rq-3.4.0 rails/vendor/rails/activerecord/test/fixtures/edge.rb