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.5.8 vendor/rails/activerecord/test/fixtures/edge.rb
backlog-0.6.1 vendor/rails/activerecord/test/fixtures/edge.rb
backlog-0.6.2 vendor/rails/activerecord/test/fixtures/edge.rb
backlog-0.6.0 vendor/rails/activerecord/test/fixtures/edge.rb
backlog-0.6.5 vendor/rails/activerecord/test/fixtures/edge.rb
backlog-0.6.3 vendor/rails/activerecord/test/fixtures/edge.rb
backlog-0.6.4 vendor/rails/activerecord/test/fixtures/edge.rb
backlog-0.6.6 vendor/rails/activerecord/test/fixtures/edge.rb
backlog-0.7.0 vendor/rails/activerecord/test/fixtures/edge.rb
backlog-0.7.1 vendor/rails/activerecord/test/fixtures/edge.rb
backlog-0.7.10 vendor/rails/activerecord/test/fixtures/edge.rb
backlog-0.7.11 vendor/rails/activerecord/test/fixtures/edge.rb
backlog-0.7.12 vendor/rails/activerecord/test/fixtures/edge.rb
backlog-0.7.2 vendor/rails/activerecord/test/fixtures/edge.rb
backlog-0.7.3 vendor/rails/activerecord/test/fixtures/edge.rb
backlog-0.7.5 vendor/rails/activerecord/test/fixtures/edge.rb
backlog-0.7.4 vendor/rails/activerecord/test/fixtures/edge.rb
backlog-0.7.7 vendor/rails/activerecord/test/fixtures/edge.rb
backlog-0.7.6 vendor/rails/activerecord/test/fixtures/edge.rb
backlog-0.7.8 vendor/rails/activerecord/test/fixtures/edge.rb