module ActiveRecord::Scoping::ClassMethods

def current_scope(skip_inherited_scope = false)

def current_scope(skip_inherited_scope = false)
  ScopeRegistry.current_scope(self, skip_inherited_scope)
end

def current_scope=(scope)

def current_scope=(scope)
  ScopeRegistry.set_current_scope(self, scope)
end

def global_current_scope(skip_inherited_scope = false)

def global_current_scope(skip_inherited_scope = false)
  ScopeRegistry.global_current_scope(self, skip_inherited_scope)
end

def global_current_scope=(scope)

def global_current_scope=(scope)
  ScopeRegistry.set_global_current_scope(self, scope)
end

def scope_attributes

an AR instance for the particular class this is called on.
Collects attributes from scopes that should be applied when creating
:nodoc:
def scope_attributes
  all.scope_for_create
end

def scope_attributes?

Are there attributes associated with this scope?
def scope_attributes?
  current_scope
end

def scope_registry

def scope_registry
  ScopeRegistry.instance
end