Fix rubocop warning re unused argument

This commit is contained in:
eileencodes 2022-08-04 14:50:11 -04:00
parent 668d866b4b
commit 1623892582
No known key found for this signature in database
GPG Key ID: BA5C575120BBE8DF
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ module ActiveRecord
config = ActiveRecord::Base.configurations.configs_for(
env_name: Rails.env,
name: options[:database]
name: database
)
Array(config&.migrations_paths).first