Rails: delayed_job on an after_create callback?

Viewed 3633

Is there a way to use the delayed_job gem to run an after_create model callback function in the background?

I have a private function used as a callback after_create :get_geolocation that runs after a user signs up.

How could I configure the model to run that in the background?

1 Answers
Related