octopus icon indicating copy to clipboard operation
octopus copied to clipboard

When pass a object to sidekiq ,The job process will raise a exception

Open Code-Farmer-Ming opened this issue 6 years ago • 3 comments

The environment

ruby 2.3.0 rails 5.0.1

Call like this

Service.delay.invokeAMethod(Record.first)

error


WARN: NoMethodError: undefined method delegate_hash' for #<Hash:0x00000008120f18> Did you mean? delete_if /ar-octopus-0.9.2/lib/octopus/model.rb:57:in init_with' ruby-2.3.0/lib/ruby/2.3.0/psych/visitors/to_ruby.rb:382:in `init_with'

Code-Farmer-Ming avatar Apr 11 '18 07:04 Code-Farmer-Ming

This should be fixed by https://github.com/thiagopradi/octopus/pull/522

schoblaska avatar May 28 '19 14:05 schoblaska

That PR was closed instead of merged, was that deliberate? Is there another fix for this?

joonty avatar Jan 30 '20 15:01 joonty

I haven't looked at this issue since I opened my PR. I closed it because this project is in maintenance mode with the release of Rails 6 and it seemed unlikely to get merged.

schoblaska avatar Jan 30 '20 15:01 schoblaska