style(rubocop): remaining offences

This commit is contained in:
Adam Cooke
2024-02-12 09:55:20 +00:00
parent c6326a6524
commit ec636661d5
19 changed files with 49 additions and 44 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ class Domain < ApplicationRecord
def parent_domains
parts = name.split(".")
parts[0, parts.size - 1].each_with_index.map do |_, i|
parts[i..-1].join(".")
parts[i..].join(".")
end
end