aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2017-09-15 14:20:50 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2017-10-23 12:50:47 -0400
commitef7784752c5c5efbe23f62d2bbcc62d4fd8aacab (patch)
tree4e01e985c6987830097a32821d7eecb60f259b0e /activerecord/lib
parente1066f450d1a99c9a0b4d786b202e2ca82a4c3b3 (diff)
downloadrails-ef7784752c5c5efbe23f62d2bbcc62d4fd8aacab.tar.gz
rails-ef7784752c5c5efbe23f62d2bbcc62d4fd8aacab.tar.bz2
rails-ef7784752c5c5efbe23f62d2bbcc62d4fd8aacab.zip
Remove deprecated methd `#scope_chain`
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/reflection.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/activerecord/lib/active_record/reflection.rb b/activerecord/lib/active_record/reflection.rb
index a60dad91d6..8877f762b2 100644
--- a/activerecord/lib/active_record/reflection.rb
+++ b/activerecord/lib/active_record/reflection.rb
@@ -1,7 +1,6 @@
# frozen_string_literal: true
require "active_support/core_ext/string/filters"
-require "active_support/deprecation"
require "concurrent/map"
module ActiveRecord
@@ -174,11 +173,6 @@ module ActiveRecord
scope ? [scope] : []
end
- def scope_chain
- chain.map(&:scopes)
- end
- deprecate :scope_chain
-
def build_join_constraint(table, foreign_table)
key = join_keys.key
foreign_key = join_keys.foreign_key