You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since in Ruby you can't have dash/minus sign in method name, you can't access it. (I guess you can do a logger.send(:'omniauth-failure')). I guess I'll raise some warning. Meanwhile you can just switch to underscore naming.
When attempting to create a logger name 'omniauth-failure' in my config/initializer/logger.rb like:
and then adding a logging command in my controller like:
I'll get a NoMethodError when accessing the action.
A further investigation in my log/ directory shows that a file 'omniauth_failure.log' was created instead of 'omniauth-failure.log'.
The text was updated successfully, but these errors were encountered: