mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
make sure that join nodes are uniq
This commit is contained in:
committed by
Vijay Dev
parent
491ce5b6ce
commit
4cd3302279
@@ -282,7 +282,7 @@ module ActiveRecord
|
||||
association.join_to(manager)
|
||||
end
|
||||
|
||||
manager.join_sources.concat join_nodes
|
||||
manager.join_sources.concat join_nodes.uniq
|
||||
manager.join_sources.concat join_list
|
||||
|
||||
manager
|
||||
|
||||
Reference in New Issue
Block a user