Redis
 sql >> Database >  >> NoSQL >> Redis

Sidekiq non trova record per Rails Active Job

In Utente.rb

after_commit :profile_photo_job, on: :create

def profile_photo_job
    message = "Add a profile photo"
    ReminderJob.set(wait: 1800).perform_later(self.id.to_s, message)
end