Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (12 sloc) 329 Bytes
# better_nested_set
# (c) 2005 Jean-Christophe Michel
# MIT licence
#
require 'better_nested_set'
require 'better_nested_set_helper'
ActiveRecord::Base.class_eval do
include SymetrieCom::Acts::NestedSet
end
if Object.const_defined?('ActionView')
ActionView::Base.send :include, SymetrieCom::Acts::BetterNestedSetHelper
end