123456789_123456789_123456789_123456789_123456789_

Module: ActiveRecord::Scoping::Default

Relationships & Source Files
Namespace Children
Modules:
Extension / Inclusion / Inheritance Descendants
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Defined in: activerecord/lib/active_record/scoping/default.rb

Class Method Summary

DSL Calls

included

[ GitHub ]


8
9
10
11
12
# File 'activerecord/lib/active_record/scoping/default.rb', line 8

included do
  # Stores the default scope for the class.
  class_attribute :default_scopes, instance_writer: false, instance_predicate: false, default: []
  class_attribute :default_scope_override, instance_writer: false, instance_predicate: false, default: nil
end