Alina
Alina

Reputation: 2261

Ruby on Rails, ActiveRecord callback, delayed execution

Is there any callback, that will call a method after 10min the create-method was used? Example: a picture was uploaded, create method was called, in 10 min another method should be called.

Thanks in advance

Upvotes: 0

Views: 925

Answers (1)

AdamT
AdamT

Reputation: 6485

You have a few options:

The alternatives would involve blocking your app (not an option) or looking into concurrency.

Upvotes: 2

Related Questions