Permalink
Browse files

implementing redis#delete_all

  • Loading branch information...
1 parent d5c06b8 commit 87226de66013ad098cf049930b363eb9d84d1d12 @simplyb simplyb committed Mar 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/supermodel/redis.rb
View
2 lib/supermodel/redis.rb
@@ -69,7 +69,7 @@ def select
end
def delete_all
- raise "Not implemented"
+ all.each { |rec| rec.destroy }
end
def find_by_attribute(key, value)

0 comments on commit 87226de

Please sign in to comment.