aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorAndrei Shaidurov <ashaidurov@suse.com>2017-03-06 17:28:16 +0100
committerAndrei Shaidurov <ashaidurov@suse.com>2017-03-06 17:28:16 +0100
commitf3d69c005291591220875efc48f82ea3909c6625 (patch)
treee47046eb699fab0d3f730633fc461c52a6dbb33c /activerecord
parentfde46f43bd8913c06e42f936dfde363a55edf774 (diff)
downloadrails-f3d69c005291591220875efc48f82ea3909c6625.tar.gz
rails-f3d69c005291591220875efc48f82ea3909c6625.tar.bz2
rails-f3d69c005291591220875efc48f82ea3909c6625.zip
Allow unscoping of left_outer_joins
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/relation/query_methods.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation/query_methods.rb b/activerecord/lib/active_record/relation/query_methods.rb
index 4ee413c805..fe671a59f9 100644
--- a/activerecord/lib/active_record/relation/query_methods.rb
+++ b/activerecord/lib/active_record/relation/query_methods.rb
@@ -348,7 +348,7 @@ module ActiveRecord
VALID_UNSCOPING_VALUES = Set.new([:where, :select, :group, :order, :lock,
:limit, :offset, :joins, :includes, :from,
- :readonly, :having])
+ :readonly, :having, :left_outer_joins])
# Removes an unwanted relation that is already defined on a chain of relations.
# This is useful when passing around chains of relations and would like to