write a new method to be accessed from delete_all
The delete method is very coupled with delete all even though only a portion of the conditionals apply. Decoupling this will make the code easier to understand and manipulate.
Showing
想要评论请 注册 或 登录