method

default_scopes?

Importance_1
v7.1.3.2 - Show latest stable - 0 notes - Class: ClassMethods
default_scopes?(all_queries: false) public

Checks if the model has any default scopes. If all_queries is set to true, the method will check if there are any default_scopes for the model where all_queries is true.

Show source
Register or log in to add new notes.