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.
2 parents 1d5393c + 978bbb4 commit cb1fe3dCopy full SHA for cb1fe3d
lib/torque/postgresql/associations/preloader/loader_query.rb
@@ -6,7 +6,7 @@ module Associations
6
module Preloader
7
module LoaderQuery
8
def foreign_column
9
- @foreign_column ||= scope.columns_hash[association_key_name]
+ @foreign_column ||= scope.columns_hash[association_key_name.to_s]
10
end
11
12
def load_records_for_keys(keys, &block)
0 commit comments