Sha256: ac560aeb1c51eb544a3d0604d2007e3f1ecbea830dd23d590607155a62551b12
Contents?: true
Size: 303 Bytes
Versions: 1
Compression:
Stored size: 303 Bytes
Contents
module Mongoid module Report AttachProxy = Struct.new(:context, :collection) do def aggregation_field(*fields) context.aggregation_field(*fields, for: collection) end def group_by(*fields) context.group_by(*fields, for: collection) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mongoid-report-0.0.5 | lib/mongoid/report/attach_proxy.rb |