Defect #14491 ยป debug_options.patch
app/models/mail_handler.rb (working copy) | ||
---|---|---|
25 | 25 |
attr_reader :email, :user |
26 | 26 |
|
27 | 27 |
def self.receive(email, options={}) |
28 |
@@handler_options = options.dup |
|
28 |
@@handler_options = options.deep_dup
|
|
29 | 29 |
|
30 | 30 |
@@handler_options[:issue] ||= {} |
31 |
@@handler_options[:issue].each do |k,v| |
|
32 |
Rails.logger.debug "@@handler_options: #{k} => #{v}" |
|
33 |
end |
|
31 | 34 |
|
32 | 35 |
if @@handler_options[:allow_override].is_a?(String) |
33 | 36 |
@@handler_options[:allow_override] = @@handler_options[:allow_override].split(',').collect(&:strip) |