aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2016-09-06 12:00:26 +0900
committeryui-knk <spiketeika@gmail.com>2016-09-06 12:00:26 +0900
commit0eb1fa97c1d987811acd1d605447fc6eecd1c921 (patch)
tree356d188857058c22a11bd692cb5b0fc4c2c06e3f /activerecord
parentda33612d0ffd7750b4caebbaeeb9bc2635c14a12 (diff)
downloadrails-0eb1fa97c1d987811acd1d605447fc6eecd1c921.tar.gz
rails-0eb1fa97c1d987811acd1d605447fc6eecd1c921.tar.bz2
rails-0eb1fa97c1d987811acd1d605447fc6eecd1c921.zip
Remove not used alias method
Bang methods of `AR::QueryMethods` are used only internally. We only use `left_outer_joins!`, so we can remove this alias.
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/relation/query_methods.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation/query_methods.rb b/activerecord/lib/active_record/relation/query_methods.rb
index 5a31f61d6d..6728a42dca 100644
--- a/activerecord/lib/active_record/relation/query_methods.rb
+++ b/activerecord/lib/active_record/relation/query_methods.rb
@@ -470,7 +470,6 @@ module ActiveRecord
self.left_outer_joins_values += args
self
end
- alias :left_joins! :left_outer_joins!
# Returns a new relation, which is the result of filtering the current relation
# according to the conditions in the arguments.