djberg96 / html-table

An interface for generating HTML tables with Ruby, with some rules enforcement
Apache License 2.0
9 stars 6 forks source link

structured_warnings gem having codebase-wide impact #8

Closed dansteele closed 4 years ago

dansteele commented 4 years ago

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 commented 4 years ago

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

🦆

djberg96 commented 4 years ago

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