mongomapper/mongomapper — pull request #584 by fcheung (2014-09-14 13:47:38+00:00)
Title: Fix remove_key on activesupport 4.1

AS::CallbackChain no longer inherits from Array, so we can't just call reject!

As far as I can tell, the only place this is used internally is by set_collection_name (to remove the _type key that could have been added by sci), but there didn't seem to be any specs for this