123456789_123456789_123456789_123456789_123456789_

Class: ActiveRecord::Scoping::DefaultScope

Do not use. This class is for internal use only.
Relationships & Source Files
Inherits: Object
Defined in: activerecord/lib/active_record/scoping/default.rb

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(scope, all_queries = nil) ⇒ DefaultScope

[ GitHub ]

  
# File 'activerecord/lib/active_record/scoping/default.rb', line 8

def initialize(scope, all_queries = nil)
  @scope = scope
  @all_queries = all_queries
end

Instance Attribute Details

#all_queries (readonly)

[ GitHub ]

  
# File 'activerecord/lib/active_record/scoping/default.rb', line 6

attr_reader :scope, :all_queries

#scope (readonly)

[ GitHub ]

  
# File 'activerecord/lib/active_record/scoping/default.rb', line 6

attr_reader :scope, :all_queries