RailsCasts Pro episodes are now free!

Learn more or hide this

Domenico's Profile

GitHub User: mimmo

Comments by Domenico

Avatar

Hi Ryan,
i see that there are some hooks you can define using delayed job.
i want to do some task after the job is done and, as the docs suggest i add the method

ruby
def after(job)
  # do something
end

in my class but it never been called.
What is the right way to use the hooks or maybe there is some other way to define callbacks instead?