/usr/lib/ruby/vendor_ruby/roadie/rails/automatic.rb is in ruby-roadie-rails 1.1.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | module Roadie
module Rails
module Automatic
def mail(*args, &block)
super.tap do |email|
email.extend InlineOnDelivery
email.roadie_options = roadie_options.try(:dup)
end
end
def roadie_options
::Rails.application.config.roadie
end
end
end
end
|