justin808/fat-code-refactoring-techniques — pull request #8 by justin808 (2014-04-11 20:41:32+00:00)
Title: Business logic in models rather than Service Object or private Controller methods

### Clean up complicated controller method by moving logic to models

* Create ProfanityChecker model to encapsulate logic of checking for profanity.
* Moved business logic from micropost controller to user and microposts models
* Created controller spec that verifies
* flash messages set correctly
* redirect or rendering done