diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-06-13 19:44:43 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-06-13 19:44:43 -0300 |
commit | 9ea4d4689711d86777715360da47ae25c0acc337 (patch) | |
tree | b518b650e47d1b69f1b7aaa571a81506a1c6e908 /lib | |
parent | 282bb10a6dcd7e488ea441dd40033bf0f9ecb6c3 (diff) | |
parent | 99d6646e8ad9499ee54c703d21e6c9c5fb233965 (diff) | |
download | rails-9ea4d4689711d86777715360da47ae25c0acc337.tar.gz rails-9ea4d4689711d86777715360da47ae25c0acc337.tar.bz2 rails-9ea4d4689711d86777715360da47ae25c0acc337.zip |
Merge pull request #290 from mekishizufu/fix_select_manager_as_subquery
Support passing of SelectManager to attribute methods
Diffstat (limited to 'lib')
-rw-r--r-- | lib/arel/nodes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/nodes.rb b/lib/arel/nodes.rb index a68e327983..c6bde8c3cc 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::Table, Arel::Nodes::BindParam, Arel::SelectManager other else case attribute |