Sha256: 1e559df8a70b85e59a7741aacd9b8dac23f5f6112cc730acbaec3734fa66a90f

Contents?: true

Size: 317 Bytes

Versions: 18

Compression:

Stored size: 317 Bytes

Contents

require 'delayed_job'
require 'rails'

module Delayed
  class Railtie < Rails::Railtie
    initializer :after_initialize do
      ActiveSupport.on_load(:action_mailer) do
        ActionMailer::Base.send(:extend, Delayed::DelayMail)
      end
    end

    rake_tasks do
      load 'delayed/tasks.rb'
    end
  end
end

Version data entries

18 entries across 18 versions & 3 rubygems

Version Path
delayed_job-4.0.0 lib/delayed/railtie.rb
delayed_job-4.0.0.beta2 lib/delayed/railtie.rb
delayed_job-4.0.0.beta1 lib/delayed/railtie.rb
delayed_job-3.0.5 lib/delayed/railtie.rb
delayed_job-3.0.4 lib/delayed/railtie.rb
drewda_delayed_job-3.0.3 lib/delayed/railtie.rb
delayed_job-3.0.3 lib/delayed/railtie.rb
delayed_job_unique_key-0.0.4 lib/delayed/railtie.rb
delayed_job-3.0.2 lib/delayed/railtie.rb
delayed_job-3.0.1 lib/delayed/railtie.rb
delayed_job-3.0.0 lib/delayed/railtie.rb
delayed_job_unique_key-0.0.3 lib/delayed/railtie.rb
delayed_job_unique_key-0.0.2 lib/delayed/railtie.rb
delayed_job_unique_key-0.0.1 lib/delayed/railtie.rb
delayed_job-3.0.0.pre4 lib/delayed/railtie.rb
delayed_job-3.0.0.pre3 lib/delayed/railtie.rb
delayed_job-3.0.0.pre2 lib/delayed/railtie.rb
delayed_job-3.0.0.pre lib/delayed/railtie.rb