From 996761da67ec8924daf7d47166ff4c34a368ed74 Mon Sep 17 00:00:00 2001 From: Pau Perez Date: Tue, 19 Jan 2021 13:26:32 +0100 Subject: [PATCH] Fix long line --- app/queries/customers_with_balance.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/queries/customers_with_balance.rb b/app/queries/customers_with_balance.rb index 2303c28687..0d547f6c2c 100644 --- a/app/queries/customers_with_balance.rb +++ b/app/queries/customers_with_balance.rb @@ -33,7 +33,8 @@ class CustomersWithBalance end def complete_orders - states = Spree::Order::PRIOR_TO_COMPLETION_STATES.map { |state| Arel::Nodes.build_quoted(state) } + states = Spree::Order::PRIOR_TO_COMPLETION_STATES + .map { |state| Arel::Nodes.build_quoted(state) } Arel::Nodes::NotIn.new(Spree::Order.arel_table[:state], states) end end