Make sure that the extension triggers partial document when used with delayed_job