Skip to content

Commit

Permalink
Update lib/delayed/railtie.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathew Spolin committed Oct 4, 2012
1 parent 0333bf1 commit ddfbd11
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/delayed/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ class Railtie < Rails::Railtie
ActiveSupport.on_load(:action_mailer) do
ActionMailer::Base.send(:extend, Delayed::DelayMail)
end
ActiveSupport.on_load(:active_record) do
require 'delayed/yaml_ext'
end
end

rake_tasks do
Expand Down

0 comments on commit ddfbd11

Please sign in to comment.