root/trunk/init.rb

Revision 8, 283 bytes (checked in by jcm, 2 years ago)

#4 && #5, before_create

Line 
1 # better_nested_set
2 # (c) 2005 Jean-Christophe Michel
3 # MIT licence
4 #
5 require 'better_nested_set'
6 require 'better_nested_set_helper'
7
8 ActiveRecord::Base.class_eval do
9   include SymetrieCom::Acts::NestedSet
10 end
11 ActionView::Base.send :include, SymetrieCom::Acts::BetterNestedSetHelper
Note: See TracBrowser for help on using the browser.