intridea/multi_json

warning: BigDecimal.new is deprecated; use BigDecimal() method instead. in multi_json 1.15.0

hphucnp opened this issue · 2 comments

When I use elasticsearch-ruby 7.10.1 which use multi_json 1.15.0, I got the warning nearly every second, can we have this to be fixed because rails always complains this warning and it consumes all the logs space

image

I believe it's not directly a MultiJson issue, as the BigDecimal is loaded from Oj adapter. Could you check if there is any Oj update available for you and if the warning is gone after the update?

@hphucnp Is this issue resolved now? I’m going to close this issue but please feel free to comment and reopen it if you believe this is still an issue with this library.