add support to delayed_job in rails 3