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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user