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

@@ -21,6 +21,6 @@ class Admin::HomepageController < Admin::BaseController
end
def load_feeds
@feeds = Widget::Feed.order("created_at")
@feeds = Widget::Feed.order(:created_at)
end
end