Los rieles hacen algo durante 3 minutos
# /app/jobs/some_job.rb
class SomeJob < ApplicationJob
def perform(params)
# do something with the user
end
end
SomeJob.set(wait: 3.minutes).perform_later(params)
Benedict Ouma