views:

18

answers:

0

I want to run the method process_images asynchronously after_save with Delayed::Job. However, when I try:

after_save lambda { send_later(:process_images) }

I get a NoMethodError: You have a nil object when you didn't expect it!. (self.send_later(:process_images) work either)