module ActiveRecord::Scoping::Default::ClassMethods

def scope_attributes? # :nodoc:

:nodoc:
Are there attributes associated with this scope?
def scope_attributes? # :nodoc:
  super || default_scopes.any? || respond_to?(:default_scope)
end