Skills Test S6 One-to-Many Associations
Learning Goals
Main Goals
- Use a web development platform (Rails) to create and use a one-to-many association between back-end model classes for storing data in a database.
- Use a web development platform (Rails) to create automated tests of the model (including associations).
- Use a web development platform (Rails) to create front-end UI features for CRUDing model objects stored in a back-end database (including association links between objects).
Ancillary Goals
- Setup and maintain a functioning platform-based (Rails web) development environment.
- Use development tools to initialize and run an existing platform-based (Rails web) application.
- Use a web development platform (Rails) to create and use a back-end model class for storing data in a database.
Preparing for the Test
As always, make sure that you have gone through the General Skills Test Instructions.
The following demo is not the focus of this test; however, you should run through it first, because it is a prerequisite to the demos that are the focus.
This test emphasizes the material covered in the following demos, so you should go through them in detail, practicing the steps for creating one-to-many model class associations and for integrating such associations into RESTful resource actions and pages.
Past Versions of the Test
Practice solving these old skills tests. To make the test apps run in these, you must edit config/database.yml
and comment out the username
and password
lines. You must also make sure that Ruby version 2.6.3 is installed by running the command rvm install 2.6.3
.