RubyGems Navigation menu

unique_delayed_job 0.0.1

Class for creating delayed jobs that can be de-duped with existing delayed jobs already in the delayed jobs table. You just specify some additional columns on your delayed_jobs table and set them to have uniqueness constraints. Then specify these column values when you create a UniqueDelayedJob and if a duplicate key is raised on insert, then the insert will just be ignored. There are factory methods for creating a delayed job in the following ways: * with a delayed job handler class (one that responds to perform()) * with an object, method and method arguments * with a code block NOTE: you must have delayed_job installed as a gem or plugin

Versions:

  1. 0.1.1 - November 19, 2009 (7 ko)
  2. 0.1.0 - November 19, 2009 (7 ko)
  3. 0.0.1 - November 18, 2009 (5,5 ko)

Auteurs:

  • Brian Percival

Propriétaires:

Bdfec5d2af6f13026c654870afe2a965Ccf265171c5ce428c3ffcd4b05afae3f

Total de contrôle SHA 256:

614e405c47938a7bae2ef6a73bddd2d57cae166bb6803ad99f2d2ebbd31fda11

Total de téléchargements 6 865

Pour cette version 2 006

Gemfile:
= Copier Copié!

installation:
=

Licences:

aucune

Version de Ruby requise: None

Liens: