We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec960c3 commit 3b677aaCopy full SHA for 3b677aa
activerecord/lib/active_record/relation/finder_methods.rb
@@ -189,7 +189,7 @@ def find_with_associations
189
including = (@eager_load_values + @includes_values).uniq
190
join_dependency = ActiveRecord::Associations::ClassMethods::JoinDependency.new(@klass, including, [])
191
relation = construct_relation_for_association_find(join_dependency)
192
- rows = connection.exec_query(relation.to_sql, 'SQL', relation.bind_values)
+ rows = connection.select_all(relation.to_sql, 'SQL', relation.bind_values)
193
join_dependency.instantiate(rows)
194
rescue ThrowResult
195
[]
0 commit comments