Fix new rubocop warnings
This commit is contained in:
parent
3988940e3c
commit
a83030dab7
37 changed files with 94 additions and 213 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue