X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/aa1fb6dbb8c2e71b8ce8c231ae1272a2dfebd75a..d14cf519fd876274900758a903e7e390d38922d5:/config/environments/development.rb diff --git a/config/environments/development.rb b/config/environments/development.rb index 8e7213a9d..97226480c 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -35,9 +35,7 @@ Rails.application.configure do config.active_support.deprecation = :log # Raise an error on page load if there are pending migrations. - unless STATUS == :database_offline - config.active_record.migration_error = :page_load - end + config.active_record.migration_error = :page_load unless STATUS == :database_offline # Debug mode disables concatenation and preprocessing of assets. # This option may cause significant delays in view rendering with a large