Permalink
Browse files

Allow delete to be chainable

  • Loading branch information...
1 parent 47efaeb commit db2463cabe9505aa976f3693dd7522c73b96bb0d @binarylogic committed Jun 21, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/searchlogic/search.rb
@@ -70,6 +70,7 @@ def conditions=(values)
# to that scope.
def delete(name)
@conditions.delete(name.to_sym)
+ self
end
private

0 comments on commit db2463c

Please sign in to comment.