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