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

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

### Methods

all_from_but_not_to

### Public Class methods

all_from_but_not_to(x, y)

[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]