mirror of https://github.com/rails/rails
Merge pull request #42863 from georgeclaghorn/rm-outdated-comment
Remove outdated comment in `ActiveRecord::Associations::AssociationScope#add_constraints`
This commit is contained in:
commit
1488cb8440
|
@ -123,8 +123,6 @@ module ActiveRecord
|
|||
|
||||
chain_head = chain.first
|
||||
chain.reverse_each do |reflection|
|
||||
# Exclude the scope of the association itself, because that
|
||||
# was already merged in the #scope method.
|
||||
reflection.constraints.each do |scope_chain_item|
|
||||
item = eval_scope(reflection, scope_chain_item, owner)
|
||||
|
||||
|
|
Loading…
Reference in New Issue