Method: ActivityNotification::ORM::ActiveRecord::Notification.opened_only!
- Defined in:
- lib/activity_notification/orm/active_record/notification.rb
.opened_only! ⇒ ActiveRecord_AssociationRelation<Notificaion>
Selects opened notifications only without limit. Be careful to get too many records with this method.
79 |
# File 'lib/activity_notification/orm/active_record/notification.rb', line 79 scope :opened_only!, -> { where.not(opened_at: nil) } |