mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
PolymorphicReflection#scopes
is no longer used since a5651eb5
This commit is contained in:
parent
ee44c1b6f1
commit
46a7b2e20c
1 changed files with 0 additions and 5 deletions
|
@ -1009,11 +1009,6 @@ module ActiveRecord
|
|||
@previous_reflection = previous_reflection
|
||||
end
|
||||
|
||||
def scopes
|
||||
scopes = @previous_reflection.scopes
|
||||
scopes << @previous_reflection.source_type_scope
|
||||
end
|
||||
|
||||
def join_scopes(table, predicate_builder) # :nodoc:
|
||||
scopes = @previous_reflection.join_scopes(table, predicate_builder) + super
|
||||
scopes << @previous_reflection.source_type_scope
|
||||
|
|
Loading…
Reference in a new issue