Skills Test S5 RESTful Resources
Learning Goals
Main Goals
- Use a web development platform (Rails) to create front-end UI features for CRUDing model objects stored in a back-end database.
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 new
/create
form pages, edit
/update
form pages, and destroy
controller actions.
- Forms for Creating New Model Records
- Forms and Actions for Updating Model Records
- Actions for Deleting Model Records
Practice Problems
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
.
- https://github.com/memphis-cs/skills-test-2019-fall/tree/s07a
- https://github.com/memphis-cs/skills-test-2019-fall/tree/s07b
- https://github.com/memphis-cs/skills-test-2019-fall/tree/s08a
- https://github.com/memphis-cs/skills-test-2019-fall/tree/s08b
Additionally(!), practice making edit
/update
form pages and destroy
links/actions as well.