Module: ActiveCollection::Scope::ClassMethods

Defined in:
lib/active_collection/scope.rb

Instance Method Summary collapse

Instance Method Details

#scope_for_countObject



50
51
52
# File 'lib/active_collection/scope.rb', line 50

def scope_for_count
  ScopeBuilder.new(scope_builder + count_scope_builder)
end

#scope_for_findObject



46
47
48
# File 'lib/active_collection/scope.rb', line 46

def scope_for_find
  ScopeBuilder.new(scope_builder + find_scope_builder)
end