aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJiri Pospisil <mekishizufu@gmail.com>2014-06-12 18:32:26 +0200
committerJiri Pospisil <mekishizufu@gmail.com>2014-06-12 18:32:26 +0200
commit0ee2c81e486e2b7155db75c6eb75fbd918e34386 (patch)
tree9f9d14d0002bd4f2d1f23ced8b77564f0b2064f6 /lib
parent22136deb66c79e37e68ea0f061389a3317601c92 (diff)
downloadrails-0ee2c81e486e2b7155db75c6eb75fbd918e34386.tar.gz
rails-0ee2c81e486e2b7155db75c6eb75fbd918e34386.tar.bz2
rails-0ee2c81e486e2b7155db75c6eb75fbd918e34386.zip
Make sure Arel::SelectManager is not mistaken for an attribute
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 a68e327983..59cfc04dc2 100644
--- a/lib/arel/nodes.rb
+++ b/lib/arel/nodes.rb
@@ -78,7 +78,7 @@ module Arel
def self.build_quoted other, attribute = nil
case other
- when Arel::Nodes::Node, Arel::Attributes::Attribute, Arel::Nodes::SelectStatement, Arel::Table, Arel::Nodes::BindParam
+ when Arel::Nodes::Node, Arel::Attributes::Attribute, Arel::Nodes::SelectStatement, Arel::Table, Arel::Nodes::BindParam, Arel::SelectManager
other
else
case attribute