Method: ActiveRecord::Scoping::ClassMethods#global_current_scope
- Defined in:
- activerecord/lib/active_record/scoping.rb
#global_current_scope(skip_inherited_scope = false) ⇒ Object
34 35 36 |
# File 'activerecord/lib/active_record/scoping.rb', line 34 def global_current_scope(skip_inherited_scope = false) ScopeRegistry.global_current_scope(self, skip_inherited_scope) end |