huacnlee/ruby-china — pull request #84 by niedhui (2011-11-28 09:43:09+00:00)
Title: try using Mongoid::Paranoia instead of Mongoid::SoftDelete,thanks to @ashchan

there's one problem on my machine ,take Topic as an example:
when run topic.destroy, it failed on redis_search_index_destroy,
```
Redis::Search::Index.remove(:id => self.id, :title => self.title, :type => self.class.to_s)
```
just return false
if I overwrite it
```
def redis_search_index_destroy
Redis::Search::Index.remove(:id => self.id, :title => self.title, :type => self.class.to_s)
true
end
```
everything works fine.

I'm not familiar with Redis, so can anyone help me on finishing this?

by the way ,I try to update mongoid to the latest version,but found mongoid_auto_increment_id depends on mongoid (~> 2.2.0),
there has some enhanced on Mongoid::Paranoia,include remove from IdentityMap