mongoid/mongoid — pull request #1552 by mitio (2012-01-04 18:43:43+00:00)
Title: Depreciation Warning from ActiveSupport::Concern

Move the Mongoid::Hierarchy's instance methods out of the InstanceMethod so that ActiveSupport will no longer complain with deprecation warnings.

The same fix as in https://github.com/mongoid/mongoid/pull/1526

All specs in the 2.3.0-stable branch are green after this change.