aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2014-12-04 09:16:23 -0700
committerSean Griffin <sean@thoughtbot.com>2014-12-04 09:16:23 -0700
commit0cd5fa9671592a16ee34f0718704b15f27911620 (patch)
tree2808c92adf0ed2b65d42043866d5cee717aa95ac /lib
parentba5effdc59f27bcd71f51a514a5496448bfad52c (diff)
downloadrails-0cd5fa9671592a16ee34f0718704b15f27911620.tar.gz
rails-0cd5fa9671592a16ee34f0718704b15f27911620.tar.bz2
rails-0cd5fa9671592a16ee34f0718704b15f27911620.zip
💣
`nil?` not `nil`
Diffstat (limited to 'lib')
-rw-r--r--lib/arel/nodes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/nodes.rb b/lib/arel/nodes.rb
index e8de637323..7d900fe710 100644
--- a/lib/arel/nodes.rb
+++ b/lib/arel/nodes.rb
@@ -77,7 +77,7 @@ module Arel
class Quoted < Arel::Nodes::Unary # :nodoc:
alias :val :value
- def nil; val.nil?; end
+ def nil?; val.nil?; end
end
def self.build_quoted other, attribute = nil