bugfix association.

- bugfix association.
- refactor `soft_delete_core.rb`.