From eed3773b97a2faa458185d8738c0bf599620f603 Mon Sep 17 00:00:00 2001 From: Yasuo Honda Date: Wed, 15 Sep 2021 15:09:54 +0900 Subject: [PATCH] FIX: Address ArgumentError to support Ruby 3 keyword arguments --- lib/seed_data/topics.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/seed_data/topics.rb b/lib/seed_data/topics.rb index f97629a4d92..03936ce4f69 100644 --- a/lib/seed_data/topics.rb +++ b/lib/seed_data/topics.rb @@ -13,7 +13,7 @@ module SeedData def create(site_setting_names: nil, include_welcome_topics: true) I18n.with_locale(@locale) do topics(site_setting_names, include_welcome_topics).each do |params| - create_topic(params) + create_topic(**params) end end end