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 ]6 7 8 9 10 11
# File 'activerecord/lib/active_record/scoping/default.rb', line 6
included do # Stores the default scope for the class. class_attribute :default_scopes, instance_writer: false, instance_predicate: false self.default_scopes = [] end