Module: ActiveRecord::Scoping::Default
Relationships & Source Files | |
Namespace Children | |
Modules:
| |
Extension / Inclusion / Inheritance Descendants | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
::ActiveSupport::Concern
|
|
Defined in: | activerecord/lib/active_record/scoping/default.rb |
Class Method Summary
::ActiveSupport::Concern
- Extended
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