Missing current_language method
I am using ExceptionNotification 3.0.1 for Rails 3.2.8 and ruby ââ1.9.3 I have these lines in production.rb:
config.middleware.use ExceptionNotifier,
:ignore_exceptions => [],
:ignore_crawlers => %w{Googlebot bingbot},
:email_prefix => '[Error]',
:sender_address => 'system@XX.XX',
:exception_recipients => %w{XX@XX.com},
:sections => ExceptionNotifier::Notifier.default_sections + %w{system_error}
But I am getting this error:
NoMethodError (undefined method `current_language' for #<ExceptionNotifier::Notifier:
Any help would be appreciated
+3
source to share
No one has answered this question yet
Check out similar questions: