Skip to content
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

structured_warnings gem having codebase-wide impact #8

Closed
dansteele opened this issue Aug 18, 2020 · 2 comments
Closed

structured_warnings gem having codebase-wide impact #8

dansteele opened this issue Aug 18, 2020 · 2 comments

Comments

@dansteele
Copy link

Getting some test failures throughout my application because the structured_warnings gem is getting angry for some reason. It's also causing issues in a third-party gem buttercms on this line. Not sure why.

It's always

     TypeError:
       wrong argument type Hash (expected String)

I've worked around the issue in our codebase, but don't want to start modifying other gems 😓
I think that #5 was meant to prevent this, but unsure.

@dansteele
Copy link
Author

It's because I was requiring the gem. Note to Rails users - use require: false.

🦆

@djberg96
Copy link
Owner

Hm, wonder what you ran into exactly. Anyway, glad you got it worked out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants