Class: CollectiveIdea::Acts::NestedSet::Railtie

Inherits:
Rails::Railtie
  • Object
show all
Defined in:
lib/awesome_nested_set/railtie.rb

Class Method Summary collapse

Class Method Details

.extend_active_recordObject



19
20
21
22
# File 'lib/awesome_nested_set/railtie.rb', line 19

def self.extend_active_record
  ActiveRecord::Base.send :include,
    CollectiveIdea::Acts::NestedSet::Base
end