method

default_scoped

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: ClassMethods
default_scoped(scope = relation) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/scoping/named.rb, line 50
        def default_scoped(scope = relation) # :nodoc:
          build_default_scope(scope) || scope
        end
Register or log in to add new notes.