* In genAffiliatedProductSql there is a lot of repetition in the queries that could be factored out so you DRY as the first query you return is a the same as the final one minus one clause. Give a shot at refactoring if you don't mind.
* Thanks for the nice error messages when the account cannot be deactivated.
Hi Rick,
Some comments on your branch:
* In genAffiliatedPr oductSql there is a lot of repetition in the queries that could be factored out so you DRY as the first query you return is a the same as the final one minus one clause. Give a shot at refactoring if you don't mind.
* Thanks for the nice error messages when the account cannot be deactivated.
* The tests are clear and easy to follow. Thanks.