socialforge/lib/plugins/acts_as_list/init.rb

4 lines
144 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
$:.unshift "#{File.dirname(__FILE__)}/lib"
require 'active_record/acts/list'
ActiveRecord::Base.class_eval { include ActiveRecord::Acts::List }