Upgrade to Rails 6.0 and apply new framework defaults

This commit is contained in:
Sebastian Serth
2021-05-10 22:04:49 +02:00
parent 3c4ff307af
commit 8378070bc2
25 changed files with 232 additions and 171 deletions

View File

@@ -1,8 +1,5 @@
# frozen_string_literal: true
require 'docker_client'
DockerClient.initialize_environment unless Rails.env.test? && `which docker`.blank?
return if Rake.application.top_level_tasks.to_s.include?('db:')
if ApplicationRecord.connection.tables.present? &&
DockerContainerPool.config[:active]
# no op
end