method

default_scoped

Importance_0
v6.0.0 - 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 56
        def default_scoped(scope = relation) # :nodoc:
          build_default_scope(scope) || scope
        end
Register or log in to add new notes.