Permalink
Browse files

Properly fix the InstanceMethods module inside ActiveSupport::Concern…

… deprecation warning.
  • Loading branch information...
1 parent b95ae4c commit b62b81a42307cbf16df7ec0946e9f60f04365145 Joseph Chen committed Apr 7, 2012
Showing with 188 additions and 189 deletions.
  1. +2 −3 lib/mongoid-ancestry.rb
  2. +186 −186 lib/mongoid-ancestry/instance_methods.rb
@@ -8,9 +8,8 @@ module Ancestry
included do
cattr_accessor :base_class
self.base_class = self
-
- require 'mongoid-ancestry/instance_methods'
- include InstanceMethods
end
+
+ require 'mongoid-ancestry/instance_methods'
end
end
Oops, something went wrong.

0 comments on commit b62b81a

Please sign in to comment.