Coding With Intent
Ever find yourself slipping into your old procedural ways? Controller methods becoming 20+ lines long? Instead, delete it all, and rewrite your code with intent, or an end-result in mind. In this lesson, we'll use validation as an example for how to code in this way.
View the source code for this lesson on GitHub.