i want set the rails plugin devise'reset_password_instructions to delayed_job..but i tried many ways is fail.
i found a function password_controller#creat they have
self.resource = resource_class.send_reset_password_instructions(params[resource_name])
i think the sentence used for send email to reset password.
i want alter it like
self.resource = Delayed::Job.enqueue ApplicationController::MailingJob.new(:resource_class.send_reset_password_instructions, params[resource_name])
ok, it will return Syntax error...
help me ..i don't know how to solve it..thx.