grosser/soft_deletion — pull request #7 by PikachuEXE (2012-10-06 08:41:20+00:00)
Title: Do not apply dangerous default scope when included

Here is what I have done:
1. Replace Test Unit with RSpec
2. Require user to call another method to use default scope
3. Add deleted & not_deleted named scopes
4. Use ActiveSupport::Concern

Default scope for condition is dangerous since when combined with association
You either cannot access associated records outside default scope or you have access to all records (even not associated)
So just let user use named scopes or declare conditions on association