DEV: correct some Ruby 2.7 deprecations

There are a few left, especially in gems but this makes some progress
This commit is contained in:
Sam Saffron
2020-07-16 17:43:20 +10:00
parent af87911178
commit 906a84d66f
3 changed files with 8 additions and 3 deletions

View File

@ -12,7 +12,7 @@ module SeedData
def create(site_setting_names: nil)
I18n.with_locale(@locale) do
categories(site_setting_names).each { |params| create_category(params) }
categories(site_setting_names).each { |params| create_category(**params) }
end
end