Fix Rails/RootPathnameMethods
cop (#31582)
This commit is contained in:
parent
5bcfe8d421
commit
bcc4b1078c
6 changed files with 6 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
Chewy.strategy(:mastodon) do
|
||||
Dir[Rails.root.join('db', 'seeds', '*.rb')].each do |seed|
|
||||
Rails.root.glob('db/seeds/*.rb').each do |seed|
|
||||
load seed
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue