lib/chillout/railtie.rb in chillout-0.4.0 vs lib/chillout/railtie.rb in chillout-0.4.1

- old
+ new

@@ -5,10 +5,10 @@ config.chillout = ActiveSupport::OrderedOptions.new initializer "chillout.creations_listener_initialization" do |app| if !app.config.chillout.empty? existing_option_keys = [:port, :hostname, :ssl].select{|key| app.config.chillout.has_key?(key)} options_list = existing_option_keys.map{|key| [key, app.config.chillout[key]]} - options = Hash[options_list].merge(logger: Rails.logger) + options = Hash[options_list].merge(:logger => Rails.logger) client = Client.new(app.config.chillout[:secret], options) ActiveRecord::Base.extend(CreationListener)