lib/rubocop/cop/rails/where_range.rb in rubocop-rails-2.26.2 vs lib/rubocop/cop/rails/where_range.rb in rubocop-rails-2.27.0
- old
+ new
@@ -87,10 +87,10 @@
private
def where_not?(node)
receiver = node.receiver
- receiver&.send_type? && receiver&.method?(:where)
+ receiver&.send_type? && receiver.method?(:where)
end
# rubocop:disable Metrics
def extract_column_and_value(template_node, values_node)
case template_node.value