Sha256: c551c3b3346a130725ea773dcee8d20b14eea6c7c4b38631fd43fe915b43449f
Contents?: true
Size: 275 Bytes
Versions: 7
Compression:
Stored size: 275 Bytes
Contents
module ActiveRecord module Associations class Preloader class BelongsTo def records_for(ids) # CPK predicate = cpk_in_predicate(table, association_key_name, ids) scope.where(predicate) end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems