Pengingat Catatan Kelas Rails

ReminderJob = Struct.new(:event) do def enqueue(job)   job.delayable = event   job.save! end def perform   event.send_reminder end def queue_name   'reminder_queue' endend
Annoying Armadillo