link.rb 327B

    # A Link connects Agents in a directed Event flow from the `source` to the `receiver`. class Link < ActiveRecord::Base attr_accessible :source_id, :receiver_id belongs_to :source, :class_name => "Agent", :inverse_of => :links_as_source belongs_to :receiver, :class_name => "Agent", :inverse_of => :links_as_receiver end