makandra / query_diet

A Rails database query counter that stays out of your way

Home Page:http://makandra.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ArgumentError (wrong number of arguments (given 6, expected 1..5))

trak3r opened this issue · comments

ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin20]

rails (7.0.2.2)

query_diet (0.7.0)

ArgumentError` (wrong number of arguments (given 6, expected 1..5))

no stack trace at all - just that message.

commenting out gem 'query_diet' and re-running bundle install resolves it.

database driver is pg (1.3.2) in case that might be relevant.

I've had difficulty reproducing this, but I think your hunch with the log method is right. I've released version 0.7.1 which hopefully resolves the issue.

This resolved the issue for me. Thank you! 👏🏻

I had the same issue. Upgrading fixed it for me as well.