- Test Driven Development
- Focusing on Object Interfaces
- Adding an array collection for a has_many on initialization
- Adding the has_many collection reader
- Preventing the direct modification of a has_many collection reader.
- Building your own has_many push interface (the
add_story
method) - Custom Errors
- Enforcing Type on the has_many push interface
- Implementing the belongs_to reader
- Implementing the belongs to writer
- Enforcing Type on the belongs_to writer
- Building a has_many through bonus
This video is meant to be a review of Object Relationships in Ruby
View Collaborating Objects Review on Learn.co and start learning to code for free.