Permalink
Browse files

Ruby 1.9 forward compat

  • Loading branch information...
1 parent 9baff19 commit 8771a632dc26a7782800347993869c964133ea29 @jeremy jeremy committed Oct 12, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 init.rb
View
@@ -1,3 +1,3 @@
$:.unshift "#{File.dirname(__FILE__)}/lib"
require 'active_record/acts/list'
-ActiveRecord::Base.send :include, ActiveRecord::Acts::List
+ActiveRecord::Base.class_eval { include ActiveRecord::Acts::List }

0 comments on commit 8771a63

Please sign in to comment.