module ActiveRecord::Scoping::Named::ClassMethods

def scope_attributes? # :nodoc:

:nodoc:
Are there default attributes associated with this scope?
def scope_attributes? # :nodoc:
  current_scope || default_scopes.any?
end