Add and apply Rails/OrderArguments rubocop rule

This rule was introduced in rubocop-rails 2.33. We were following it
most of the time.
This commit is contained in:
Javi Martín
2025-10-31 13:02:09 +01:00
parent 0c5dc24cc2
commit 048bdb2e9e
12 changed files with 17 additions and 14 deletions

View File

@@ -216,7 +216,7 @@ module Statisticable
end
def geozones
Geozone.order("name")
Geozone.order(:name)
end
def range_description(start, finish)