Fix low-hanging rubocop gripes (#8458)
* rubocop: quit being so picky * rubocop: miscellany * rubocop: prefer present to blank
This commit is contained in:
parent
a791bac153
commit
da13fa5021
9 changed files with 26 additions and 24 deletions
|
@ -18,7 +18,7 @@ def each_schema_load_environment
|
|||
# needing to do the same, and we can't even use the same method
|
||||
# to do it.
|
||||
|
||||
if Rails.env == 'development'
|
||||
if Rails.env.development?
|
||||
test_conf = ActiveRecord::Base.configurations['test']
|
||||
|
||||
if test_conf['database']&.present?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue