aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/querying.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2015-10-31 01:04:23 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2015-10-31 01:37:35 +0900
commitd3411ad361bf1d02b1f9e1724c1298e7de3670ea (patch)
treeba35631d90691a08bfa1eba4ab7a6014702d5f09 /activerecord/lib/active_record/querying.rb
parent6c61ae816ad7326e510a8f019cadc6db4cc9dae0 (diff)
downloadrails-d3411ad361bf1d02b1f9e1724c1298e7de3670ea.tar.gz
rails-d3411ad361bf1d02b1f9e1724c1298e7de3670ea.tar.bz2
rails-d3411ad361bf1d02b1f9e1724c1298e7de3670ea.zip
Alias left_joins to left_outer_joins
Diffstat (limited to 'activerecord/lib/active_record/querying.rb')
-rw-r--r--activerecord/lib/active_record/querying.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/querying.rb b/activerecord/lib/active_record/querying.rb
index 7ab2108de0..1f429cfd94 100644
--- a/activerecord/lib/active_record/querying.rb
+++ b/activerecord/lib/active_record/querying.rb
@@ -7,7 +7,7 @@ module ActiveRecord
delegate :find_by, :find_by!, to: :all
delegate :destroy, :destroy_all, :delete, :delete_all, :update, :update_all, to: :all
delegate :find_each, :find_in_batches, :in_batches, to: :all
- delegate :select, :group, :order, :except, :reorder, :limit, :offset, :joins, :left_outer_joins, :or,
+ delegate :select, :group, :order, :except, :reorder, :limit, :offset, :joins, :left_joins, :left_outer_joins, :or,
:where, :rewhere, :preload, :eager_load, :includes, :from, :lock, :readonly,
:having, :create_with, :uniq, :distinct, :references, :none, :unscope, to: :all
delegate :count, :average, :minimum, :maximum, :sum, :calculate, to: :all