Redis
 sql >> Datenbank >  >> NoSQL >> Redis

Sidekiq findet keine Datensätze für Rails Active Job

In User.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