-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
silence #327
silence #327
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not use disable_warnings
? https://github.com/intridea/hashie/blob/master/lib/hashie/mash.rb#L72-L79
``` ou are setting a key that conflicts with a built-in method Hashie::Mash#class defined in Kernel. This can cause unexpected behavior when accessing the key via as a property. You can still access the key via the #[] method. ```
neat, updated! |
👋 Hey this is really spamming our logs. Is there anything I can do to help expedite things? |
how about a review ? :D |
👍 |
v1.14.3 |
module ZendeskAPI | ||
# @private | ||
class SilentMash < Hashie::Mash | ||
disable_warnings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would have been nice to check for method existence 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update your hashie ... but I guess should bump required version here and yank the previous release ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I found out that I needed to bump hashie but it came as a bit of a surprise!
@bquorning