Method: ActiveRecord::Scoping::ScopeRegistry#initialize
- Defined in:
- activerecord/lib/active_record/scoping.rb
#initialize ⇒ ScopeRegistry
Returns a new instance of ScopeRegistry.
86 87 88 89 90 |
# File 'activerecord/lib/active_record/scoping.rb', line 86 def initialize @current_scope = {} @ignore_default_scope = {} @global_current_scope = {} end |