A platform for community discussion. Free, open, simple.
FIX: Address ArgumentError to support Ruby 3 keyword arguments
Yasuo Hondaeed3773b97a2
diff --git a/lib/seed_data/topics.rb b/lib/seed_data/topics.rbindex f97629a4d92..03936ce4f69 100644--- a/lib/seed_data/topics.rb+++ b/lib/seed_data/topics.rb@@ -13,7 +13,7 @@ module SeedDatadef create(site_setting_names: nil, include_welcome_topics: true)I18n.with_locale(@locale) dotopics(site_setting_names, include_welcome_topics).each do |params|- create_topic(params)+ create_topic(**params)endendend