Sha256: 0c3199356d850c931be85008c6f445ddfd607e0d728a3b9506814d776d5ac5f9
Contents?: true
Size: 515 Bytes
Versions: 8
Compression:
Stored size: 515 Bytes
Contents
module Recommendable module Helpers module Queriers class << self def active_record(klass, ids) klass.where(:id => ids) end def data_mapper(klass, ids) klass.all(:id => ids) end def mongoid(klass, ids) klass.where(:id.in => ids) end def mongo_mapper(klass, ids) klass.where(:id => ids) end def sequel(klass, ids) klass.where(:id => ids) end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems