aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/arel/nodes.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/arel/nodes.rb b/lib/arel/nodes.rb
index 49000af4ab..e8de637323 100644
--- a/lib/arel/nodes.rb
+++ b/lib/arel/nodes.rb
@@ -77,6 +77,7 @@ module Arel
class Quoted < Arel::Nodes::Unary # :nodoc:
alias :val :value
+ def nil; val.nil?; end
end
def self.build_quoted other, attribute = nil