Skip to content

Commit

Permalink
Add missing file from previous commit :bomb
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatack committed Aug 29, 2015
1 parent 381a83c commit ce114ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ransack/adapters/active_record/ransack/constants.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@ module Constants
:compounds => false,
:type => :boolean,
:validator => proc { |v| BOOLEAN_VALUES.include?(v) },
:formatter => proc { |v| [nil, EMPTY] }
:formatter => proc { |v| [nil, ''.freeze] }
}
],
['blank'.freeze, {
:arel_predicate => proc { |v| v ? EQ_ANY : NOT_EQ_ALL },
:compounds => false,
:type => :boolean,
:validator => proc { |v| BOOLEAN_VALUES.include?(v) },
:formatter => proc { |v| [nil, EMPTY] }
:formatter => proc { |v| [nil, ''.freeze] }
}
],
['null'.freeze, {
Expand Down

0 comments on commit ce114ec

Please sign in to comment.