smartinez87/exception_notification — pull request #185 by ktdreyer (2013-09-09 20:55:03+00:00)
Title: load attribute_accessors for ActiveSupport 4

When using ActiveSupport 4, we must explicitly load attribute_accessors in order to use the mattr_accessor function in ExceptionNotifier.

Tested with ActiveSupport 3.2.13 and 4.0.0.

(Note that we only hit this bug when using ExceptionNotifier outside of Bundler, since Gemfile.lock is presently locking activesupport to 3.2. I assume that activesupport in exception_notification's Gemfile.lock will be updated at some point in the future, at which point this will become relevant to Bundler users as well.)