Method: ActivityNotification::ORM::ActiveRecord::Notification.earlier_than
- Defined in:
- lib/activity_notification/orm/active_record/notification.rb
.earlier_than ⇒ ActiveRecord_AssociationRelation<Notificaion>, Mongoid::Criteria<Notificaion>
Selects filtered notifications earlier than specified time.
149 |
# File 'lib/activity_notification/orm/active_record/notification.rb', line 149 scope :earlier_than, ->(created_time) { where('created_at < ?', created_time) } |