Permalink
Browse files

Don't use `self.send :include` but just `include`

  • Loading branch information...
jlecour committed Nov 14, 2010
1 parent ee159ee commit 1e284e4bff0cce54d55b67c7728dc95836625c24
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/geokit-rails3/acts_as_mappable.rb
@@ -14,7 +14,7 @@ module ClassMethods # :nodoc:
def acts_as_mappable(options = {})
metaclass = (class << self; self; end)
- self.send :include, Geokit::ActsAsMappable
+ include Geokit::ActsAsMappable
cattr_accessor :through
self.through = options[:through]

0 comments on commit 1e284e4

Please sign in to comment.