Module: ActiveRecord::Acts::Tree

Includes:
ActsAsTree
Defined in:
lib/acts_as_tree/active_record/acts/tree.rb

Constant Summary

Constants included from ActsAsTree

ActsAsTree::VERSION

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



8
9
10
11
12
# File 'lib/acts_as_tree/active_record/acts/tree.rb', line 8

def self.included(base)
  Kernel.warn "[DEPRECATION] The module ActiveRecord::Acts::Tree has moved to ActsAsTree"

  base.extend ::ActsAsTree::ClassMethods
end