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:
@@ -216,7 +216,7 @@ module Statisticable
|
||||
end
|
||||
|
||||
def geozones
|
||||
Geozone.order("name")
|
||||
Geozone.order(:name)
|
||||
end
|
||||
|
||||
def range_description(start, finish)
|
||||
|
||||
Reference in New Issue
Block a user