lib/can_search/search_scopes.rb
# Registered scope_types using their symbolized names as keys.
Registered scope_types using their symbolized names as keys.
Registered scope_types using their symbolized names as keys .
def add_existing_scopes(*names)
			names.each do |name|
				@scopes[name] = BaseScope.new(@model, name, :named_scope => name)
			end
    end
def add_existing_scopes ( * names ) names . each do | name | @scopes [ name ] = BaseScope . new ( @model , name , :named_scope => name ) end end
Registered scope_types using their symbolized names as keys.
Registered scope_types using their symbolized names as keys .
names
<not_specific>