socialforge/lib/plugins/acts_as_list/init.rb

4 lines
144 B
Ruby

$:.unshift "#{File.dirname(__FILE__)}/lib"
require 'active_record/acts/list'
ActiveRecord::Base.class_eval { include ActiveRecord::Acts::List }