Summary

Let’s recap what we learned throughout this chapter.

We'll cover the following

In this chapter, we learned about strategies for dealing with Rails models and looked at driving the TDD process to add a particular feature. Once the process is added, the next step is refactoring, and we looked at how to mitigate complexity, duplication, and missing abstractions. We also looked at testing Rails features such as associations and validations and creating our own RSpec matchers if the built-in ones aren’t expressive enough.

Get hands-on with 1400+ tech skills courses.