Closed rubydesign closed 8 years ago
Ok, re-reading (the 4th time) i see a section on backward compatibility. Which i didn't read before since i have a new installation.
But doing the require async does the trick for sp 2.0
So moving that section to the rails section and making it more explicit would do it
@brandonhilkert Is there any chance to backport 2.0 compatibility into ActiveJob version > 4.2.5.1 and < 5.x
isn't that just a matter of checking the rails version in the main required file and requiring the async if needed
Backporting something like that is up to the Rails core team. Unfortunately, I don't have control over it. I added back anote about the change to the ActiveJob
section.
@brandonhilkert thank you, now it is clear.
Great tool, but small version problem, maybe ?
so, just following the readme (which is silent on deliver_later ) i get NoMethodError - undefined method `async' for #ActiveJob::QueueAdapters::SuckerPunchAdapter::JobWrapper:0x007f8e1b98f390:
when sending a mail with deliver_later
only downgrading to 1.6 fixes this. Possibly the 2.0 needs a rails 5 dependency ?
Torsten