lib/fishplate.rb in fishplate-7.0.4 vs lib/fishplate.rb in fishplate-7.0.5
- old
+ new
@@ -64,9 +64,10 @@
private
def configure_active_record
ActiveRecord.default_timezone = :utc
ActiveRecord::Base.logger = logger
+ ActiveRecord::Base.logger.level = ENV['LOG_LEVEL'] || 'debug'
ActiveRecord::Base.time_zone_aware_attributes = true
ActiveRecord::Base.configurations = database_configuration
end
def setup_database_tasks