6 7 8
# File 'lib/mongoid_frequency/collection.rb', line 6 def frequency(group, match = {}) Mongoid::Frequency.query(self, match, group) end