lib/elastic_apm/railtie.rb in elastic-apm-3.3.0 vs lib/elastic_apm/railtie.rb in elastic-apm-3.4.0

- old
+ new

@@ -5,10 +5,10 @@ class Railtie < ::Rails::Railtie config.elastic_apm = ActiveSupport::OrderedOptions.new Config.schema.each do |key, args| next unless args.length > 1 - config.elastic_apm[key] = args.last[:default] + config.elastic_apm[key] = args[:default] end initializer 'elastic_apm.initialize' do |app| config = Config.new(app.config.elastic_apm.merge(app: app)).tap do |c| # Prepend Rails.root to log_path if present