module Mongestry
Public Class Methods
has_mongestry()
click to toggle source
# File lib/mongestry.rb, line 4 def has_mongestry include Mongestry::InstanceMethods field :ancestry, type: String index :ancestry field :persisted_depth, type: Integer before_create :build_ancestry end