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