- 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
Please open a GitHub issue or pull-request. Provide a detailed description that explains the issue you have found or the change you are proposing. Then "@" mention your instructor on the issue or pull-request, and send them a link via Connect.
PHRG Objectives: