{"action":"created","issue":{"url":"https://api.github.com/repos/smartinez87/exception_notification/issues/270","labels_url":"https://api.github.com/repos/smartinez87/exception_notification/issues/270/labels{/name}","comments_url":"https://api.github.com/repos/smartinez87/exception_notification/issues/270/comments","events_url":"https://api.github.com/repos/smartinez87/exception_notification/issues/270/events","html_url":"https://github.com/smartinez87/exception_notification/issues/270","id":68778594,"number":270,"title":"v4.1.0: An error occurred when sending a notification using 'email' notifier.","user":{"login":"steventwheeler","id":4442403,"avatar_url":"https://avatars.githubusercontent.com/u/4442403?v=3","gravatar_id":"","url":"https://api.github.com/users/steventwheeler","html_url":"https://github.com/steventwheeler","followers_url":"https://api.github.com/users/steventwheeler/followers","following_url":"https://api.github.com/users/steventwheeler/following{/other_user}","gists_url":"https://api.github.com/users/steventwheeler/gists{/gist_id}","starred_url":"https://api.github.com/users/steventwheeler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steventwheeler/subscriptions","organizations_url":"https://api.github.com/users/steventwheeler/orgs","repos_url":"https://api.github.com/users/steventwheeler/repos","events_url":"https://api.github.com/users/steventwheeler/events{/privacy}","received_events_url":"https://api.github.com/users/steventwheeler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-15T20:24:28Z","updated_at":"2015-04-28T09:52:24Z","closed_at":null,"body":"Hello, I just installed the 4.1.0 version of this gem and ran `rails g exception_notification:install` to generate the configuration.  I only modified the email_prefix, sender_address, and exception_recipients options. When an error occurs I see get the following stack trace in the console. Downgrading to version 4.0.1 resolved the problem for me. Please let me know if you need any additional information.\r\n\r\n```\r\nW, [2015-04-15T15:11:02.714919 #15004]  WARN -- : An error occurred when sending a notification using 'email' notifier. NoMethodError: private method `include' called for #<Class:0x000000084a3b68>\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/actionmailer-4.2.0/lib/action_mailer/base.rb:569:in `method_missing'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/exception_notification-4.1.0/lib/exception_notifier/email_notifier.rb:20:in `block in extended'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/exception_notification-4.1.0/lib/exception_notifier/email_notifier.rb:19:in `class_eval'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/exception_notification-4.1.0/lib/exception_notifier/email_notifier.rb:19:in `extended'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/exception_notification-4.1.0/lib/exception_notifier/email_notifier.rb:137:in `extend'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/exception_notification-4.1.0/lib/exception_notifier/email_notifier.rb:137:in `block in mailer'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/exception_notification-4.1.0/lib/exception_notifier/email_notifier.rb:136:in `tap'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/exception_notification-4.1.0/lib/exception_notifier/email_notifier.rb:136:in `mailer'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/exception_notification-4.1.0/lib/exception_notifier/email_notifier.rb:157:in `create_email'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/exception_notification-4.1.0/lib/exception_notifier/email_notifier.rb:143:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/exception_notification-4.1.0/lib/exception_notifier.rb:94:in `fire_notification'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/exception_notification-4.1.0/lib/exception_notifier.rb:39:in `block in notify_exception'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/exception_notification-4.1.0/lib/exception_notifier.rb:38:in `each'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/exception_notification-4.1.0/lib/exception_notifier.rb:38:in `notify_exception'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/exception_notification-4.1.0/lib/exception_notification/rack.rb:42:in `rescue in call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/exception_notification-4.1.0/lib/exception_notification/rack.rb:32:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rack-1.6.0/lib/rack/etag.rb:24:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rack-1.6.0/lib/rack/conditionalget.rb:25:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rack-1.6.0/lib/rack/head.rb:13:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/params_parser.rb:27:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/flash.rb:260:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rack-1.6.0/lib/rack/session/abstract/id.rb:225:in `context'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rack-1.6.0/lib/rack/session/abstract/id.rb:220:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/cookies.rb:560:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/activerecord-4.2.0/lib/active_record/query_cache.rb:36:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/activerecord-4.2.0/lib/active_record/migration.rb:378:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:88:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:88:in `_run_callbacks'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:734:in `_run_call_callbacks'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:81:in `run_callbacks'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/callbacks.rb:27:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/reloader.rb:73:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/web-console-2.1.2/lib/web_console/middleware.rb:37:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/railties-4.2.0/lib/rails/rack/logger.rb:38:in `call_app'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/railties-4.2.0/lib/rails/rack/logger.rb:22:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/request_id.rb:21:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rack-1.6.0/lib/rack/methodoverride.rb:22:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rack-1.6.0/lib/rack/runtime.rb:18:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/activesupport-4.2.0/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rack-1.6.0/lib/rack/lock.rb:17:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/static.rb:113:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rack-1.6.0/lib/rack/sendfile.rb:113:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/railties-4.2.0/lib/rails/engine.rb:518:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/railties-4.2.0/lib/rails/application.rb:164:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rack-1.6.0/lib/rack/lock.rb:17:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rack-1.6.0/lib/rack/content_length.rb:15:in `call'\r\nc:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rack-1.6.0/lib/rack/handler/webrick.rb:89:in `service'\r\nc:/Ruby200-x64/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'\r\nc:/Ruby200-x64/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'\r\nc:/Ruby200-x64/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'\r\nF, [2015-04-15T15:11:02.718920 #15004] FATAL -- :\r\n```"},"comment":{"url":"https://api.github.com/repos/smartinez87/exception_notification/issues/comments/96994497","html_url":"https://github.com/smartinez87/exception_notification/issues/270#issuecomment-96994497","issue_url":"https://api.github.com/repos/smartinez87/exception_notification/issues/270","id":96994497,"user":{"login":"KaibinHuang","id":3959479,"avatar_url":"https://avatars.githubusercontent.com/u/3959479?v=3","gravatar_id":"","url":"https://api.github.com/users/KaibinHuang","html_url":"https://github.com/KaibinHuang","followers_url":"https://api.github.com/users/KaibinHuang/followers","following_url":"https://api.github.com/users/KaibinHuang/following{/other_user}","gists_url":"https://api.github.com/users/KaibinHuang/gists{/gist_id}","starred_url":"https://api.github.com/users/KaibinHuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaibinHuang/subscriptions","organizations_url":"https://api.github.com/users/KaibinHuang/orgs","repos_url":"https://api.github.com/users/KaibinHuang/repos","events_url":"https://api.github.com/users/KaibinHuang/events{/privacy}","received_events_url":"https://api.github.com/users/KaibinHuang/received_events","type":"User","site_admin":false},"created_at":"2015-04-28T09:52:24Z","updated_at":"2015-04-28T09:52:24Z","body":"+1\r\nrails 3.2.10\r\njruby 1.7.6\r\nexception_notification 4.1.0\r\n4.0.1 did not have the issue."}}