Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Ruby 1.9 forward compat

  • Loading branch information...
commit 8771a632dc26a7782800347993869c964133ea29 1 parent 9baff19
@jeremy jeremy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  init.rb
View
2  init.rb
@@ -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 }
Please sign in to comment.
Something went wrong with that request. Please try again.