Sha256: 3a0c33002ea68a0861eab9e3f6ddb3968db19e17114659cff754a2f8b78df20e
Contents?: true
Size: 434 Bytes
Versions: 5
Compression:
Stored size: 434 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 => ids) end def mongo_mapper(klass, ids) klass.where(:id => ids) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems