Skip to content

Commit

Permalink
Remove unused argument
Browse files Browse the repository at this point in the history
  • Loading branch information
wildmaples committed Dec 21, 2023
1 parent d9c6391 commit 9572fcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/railties/databases.rake
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ db_namespace = namespace :db do
if db_configs.size == 1
ActiveRecord::Tasks::DatabaseTasks.migrate
else
mapped_versions = ActiveRecord::Tasks::DatabaseTasks.db_configs_with_versions(db_configs)
mapped_versions = ActiveRecord::Tasks::DatabaseTasks.db_configs_with_versions

mapped_versions.sort.each do |version, db_configs|
db_configs.each do |db_config|
Expand Down
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/tasks/database_tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def migrate(version = nil)
Migration.verbose = verbose_was
end

def db_configs_with_versions(db_configs) # :nodoc:
def db_configs_with_versions # :nodoc:
db_configs_with_versions = Hash.new { |h, k| h[k] = [] }

with_temporary_connection_for_each do |conn|
Expand Down

0 comments on commit 9572fcb

Please sign in to comment.