jnunemaker/mongomapper — pull request #374 by laserlemon (2012-01-04 13:25:08+00:00)
Title: Stop relying on ActiveSupport::Concern's deprecated inclusion of the InstanceMethods module

In the process, I locked down the gemfile version requirements in order to get the dependencies to resolve correctly so that I could run the suite. At which time, I found that two tests were failing because of a couple copy/paste errors and fixed those errors.

In a new rails app, mongomapper was spitting out deprecation warnings regarding plugins' use of the `InstanceMethods` module. This addresses: https://github.com/jnunemaker/mongomapper/issues/371

It's also backwards-compatible with versions of ActiveSupport that don't issue the deprecation warnings.