sidekiq_mailer error when trying to send email
问题 I added to my app the gems sidekiq (2.15.0) and sidekiq_mailer (0.0.6). When I try to send an email, I receive: NoMethodError (undefined method `key?' for #<JSON::Ext::Generator::State:0x007f1b...... Does anybody have any idea why that is the case? 回答1: Per this comment on a resque issue I was able to solve a similar issue where I was trying to pass an entire object to the worker's perform action instead of just the object id. I refactored my code to pass just an id and fetch the necessary