123456789_123456789_123456789_123456789_123456789_

Module: ActiveRecord::Scoping

Relationships & Source Files
Namespace Children
Modules:
Extension / Inclusion / Inheritance Descendants
Included In:
Base, ActiveRecord::InternalMetadata, ActiveRecord::SchemaMigration
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Defined in: activerecord/lib/active_record/scoping/named.rb,
activerecord/lib/active_record.rb,
activerecord/lib/active_record/scoping.rb,
activerecord/lib/active_record/scoping/default.rb

Overview

Active Record Named Scopes

Class Method Summary

::ActiveSupport::Concern - Extended

class_methods

Define class methods from given block.

included

Evaluate given block in context of base class, so that you can write class macros here.

prepended

Evaluate given block in context of base class, so that you can write class macros here.

::ActiveSupport::Autoload - Extended

DSL Calls

included

[ GitHub ]


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

included do
  include Default
  include Named
end