Another feature that you can use in Rails 4,
scope :recent, -> { where('updated_at > ?', 5.minutes.ago }
scope :non_admin, -> { without_role :admin }
scope :non_admin, -> { where(admin: false) }
scope :non_admin_recent, -> { non_admin.recent }
Rolify.