lib/searchlogic/search.rb
# Delete a condition from the search. Since conditions map to named scopes,
# if a named scope accepts a parameter there is no way to actually delete
# the scope if you do not want it anymore. A nil value might be meaningful
# to that scope.
Delete a condition from the search. Since conditions map to named scopes,
if a named scope accepts a parameter there is no way to actually delete
the scope if you do not want it anymore. A nil value might be meaningful
to that scope.
Delete a condition from the search . Since conditions map to named scopes if a named scope accepts a parameter there is no way to actually delete the scope if you do not want it anymore . A nil value might be meaningful to that scope .
def delete(*names)
      names.each do |name|
        @conditions.delete(name.to_sym)
        mass_conditions.delete(name)
      end
      self
    end
def delete ( * names ) names . each do | name | @conditions . delete ( name . to_sym ) mass_conditions . delete ( name ) end self end
Delete a condition from the search.
Delete a condition from the search .
names