Project

General

Profile

Defect #14491 ยป debug_options.patch

Jean-Philippe Lang, 2013-08-07 21:56

View differences:

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)
    (1-1/1)