From ce114ec4de37042af02298e3ace64d38cba66a76 Mon Sep 17 00:00:00 2001 From: Jon Atack Date: Sat, 29 Aug 2015 23:07:48 +0200 Subject: [PATCH] Add missing file from previous commit :bomb --- lib/ransack/adapters/active_record/ransack/constants.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ransack/adapters/active_record/ransack/constants.rb b/lib/ransack/adapters/active_record/ransack/constants.rb index c02ee20..7ff87c1 100644 --- a/lib/ransack/adapters/active_record/ransack/constants.rb +++ b/lib/ransack/adapters/active_record/ransack/constants.rb @@ -70,7 +70,7 @@ module Ransack :compounds => false, :type => :boolean, :validator => proc { |v| BOOLEAN_VALUES.include?(v) }, - :formatter => proc { |v| [nil, EMPTY] } + :formatter => proc { |v| [nil, ''.freeze] } } ], ['blank'.freeze, { @@ -78,7 +78,7 @@ module Ransack :compounds => false, :type => :boolean, :validator => proc { |v| BOOLEAN_VALUES.include?(v) }, - :formatter => proc { |v| [nil, EMPTY] } + :formatter => proc { |v| [nil, ''.freeze] } } ], ['null'.freeze, {