Class DocumentEdge
In: app/models/document_edge.rb
Parent: ActiveRecord::Base

関連文書の参照のためのモデル。

Methods

Public Class methods

[Source]

    # File app/models/document_edge.rb, line 34
34:   def self.all_from_but_not_to(x, y)
35:     find(:all, :conditions => {:from_id => x.id, :from_type => x.class.to_s}).reject {|edge| edge.to == y}
36:   end

[Validate]