Module: Mongoid::Scopable

Extended by:
ActiveSupport::Concern
Included in:
Composable
Defined in:
lib/mongoid/scopable.rb

Overview

This module contains behaviour for all Mongoid scoping - named scopes, default scopes, and criteria accessors via scoped and unscoped.

Since:

  • 4.0.0

Defined Under Namespace

Modules: ClassMethods