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