Sha256: 93d5e226428cc57a30d6794fb014c2416de7066640620fad8b5ebb82823bb486
Contents?: true
Size: 576 Bytes
Versions: 1
Compression:
Stored size: 576 Bytes
Contents
require 'active_record' module ClosureTree extend ActiveSupport::Autoload autoload :HasClosureTree autoload :Support autoload :HierarchyMaintenance autoload :Model autoload :Finders autoload :HashTree autoload :Digraphs autoload :DeterministicOrdering autoload :NumericDeterministicOrdering autoload :Configuration def self.configure yield configuration end def self.configuration @configuration ||= Configuration.new end end ActiveSupport.on_load :active_record do ActiveRecord::Base.send :extend, ClosureTree::HasClosureTree end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
closure_tree-6.1.0 | lib/closure_tree.rb |