Sha256: 7078815e45a4155fa008635dfb069dad03c2a95f1ba1ece6a61839807cbc0ad2
Contents?: true
Size: 215 Bytes
Versions: 16
Compression:
Stored size: 215 Bytes
Contents
class Document < ActiveRecord::Base has_many :children, :class_name => "Document", :foreign_key => 'parent_id' belongs_to :parent, :class_name => "Document", :foreign_key => 'parent_id' belongs_to :author end
Version data entries
16 entries across 16 versions & 1 rubygems