lib/rubocop/cop/rails/order_by_id.rb in rubocop-rails-2.15.0 vs lib/rubocop/cop/rails/order_by_id.rb in rubocop-rails-2.15.1

- old
+ new

@@ -21,11 +21,10 @@ # scope :chronological, -> { order(created_at: :asc) } # class OrderById < Base include RangeHelp - MSG = 'Do not use the `id` column for ordering. '\ - 'Use a timestamp column to order chronologically.' + MSG = 'Do not use the `id` column for ordering. Use a timestamp column to order chronologically.' RESTRICT_ON_SEND = %i[order].freeze def_node_matcher :order_by_id?, <<~PATTERN (send _ :order {