Support for Rails 4.2

When config.active_record.raise_in_transactional_callbacks is enabled (causing
errors raised in after_commit to be raised rather than swallowed), no
subsequent after_commit callbacks were being called.