jnunemaker/mongomapper — pull request #527 by cheald (2013-07-02 08:35:52+00:00)
Title: Turn embedded callbacks off until a callback is actually defined.

Extracted from #521. Just makes MM not execute embedded callbacks unless one has actually been defined. This speeds up inserts appreciably.

I didn't include the specs for this behavior, as this branch is forked off of master, which doesn't have rspec included. The specs depend on #526 being merged first.