method

default_scoped

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ClassMethods
default_scoped(scope = relation, all_queries: nil) public

Returns a scope for the model with default scopes.

Show source
Register or log in to add new notes.