Study the following required Demos-n-Deets demos:
As a first step toward acquiring the skills covered in the demos, you must read the demos; however, you will not learn much by simply reading them in a passive manner. Instead, you should digest the demos in a more active manner. Thus, the active reading assignments are designed to help ensure that you get the most out of your first reading of the demos.
For the active reading assignment, follow these key instructions:
Perform the steps. As you read through each assigned demo, you must perform the steps of the demo on your machine.
Think deeply about each step. Resist the urge to do mindless copying and pasting of code, because it will undermine your engagement with the material, and thus, decrease the learning benefits. Instead, try to think deeply about each step, so you are clear on the rationale for the step and how it works.
Name screenshot files as specified. Each required screenshot for an Active Reading has a label (e.g., sa2-ar-03). For each screenshot file, the name of the file should match the specified label exactly.
Each time you go to do an Active Reading for a new demo, start like this:
cd
into your workspace folder. You’re going to download a new project folder, and this is where it will go.git clone
of the base app repo to download it, giving the working directory a custom name, like sa1-ar-model-classes
.cd
into the new working directory.git switch
to the base app branch specified in the demo.Quiz
model class,Question
model class, anddb/schema.rb
file.Question
index page that includes several rows in the table,Question
new/create form,Question
edit/update form,config/routes.rb
file,QuestionsController
class,app/views/questions/index.html.erb
view template, andapp/views/questions/new.html.erb
view template.In the above screenshots, code which is too long to be captured in one screenshot may be split up into multiple screenshots.