collectiveidea/delayed_job — pull request #393 by aarongowatch (2012-04-26 21:28:53+00:00)
Title: Adding permit_unpersisted flag to enable Delayed::Job creation via before_save or similar callbacks

- Selectively permits the creation of jobs via ActiveRecord
before_save callbacks where doing so in an after_save would
require additional code to prevent callback recursion when
Delayed::Job record pointer is stored as an association.

- Preserves existing 3.0 behavior, but makes upgrading to 3.0 from 2.x
easier by (optionally) preserving the old behavior.