Method: ActivityNotification::ORM::Mongoid::Notification.opened_only!
- Defined in:
- lib/activity_notification/orm/mongoid/notification.rb
.opened_only! ⇒ Mongoid::Criteria<Notificaion>
Selects opened notifications only without limit. Be careful to get too many records with this method.
86 |
# File 'lib/activity_notification/orm/mongoid/notification.rb', line 86 scope :opened_only!, -> { where(:opened_at.exists => true) } |