Skip to content

Instantly share code, notes, and snippets.

Pizza Shop

  • What happens the first time we make a pizza?
  • What happens the second time we make that same pizza?
  • What happens if we request a different pizza type?
  • What happens if we make a new pizza shop?
  • What happens if we change the underlying technique of making a pizza?

Caching in Rails

Rails Engine Peer Review

Instructions

  1. Create a new gist. This is where you'll complete your peer evaluation and eventually share with your partner.
  2. Follow the instructions in the "Peer Review" section on the Rails Engine project page. Record your answers to each question in your gist.
  3. Score your partner's project using the Project Rubric. Record it in your gist.
  4. Share your gist with your partner and go through it with them, either in person or via Slack call.

Partners

Part 1: Solo Research (10 minutes)

Research the following questions:

  1. What is Abstraction?
  2. What is Encapsulation?

Part 2: Group Chart Paper (20 minutes)

As a group, create a chart paper with the following:

Setup

Create a branch off of your Sweater Weather project called final_assessment. As you work, you should commit to this branch every 15 minutes

Assignment

You will build an endpoint that will retrieve food and forecast information for a destination city.

Your endpoint should follow this format:

BE Mod 2 Repeat Intermission Work

For your Intermission work for this upcoming repeat of Mod 2, we expect that you do #1, #4 and #5 of the Required Intermission Work below. Yes, it is the same thing that you had done at the beginning of this past mod, but we believe it would be good practice for you to work on SQL and the Task Manager one more time. When you're done with the required intermission work, follow submission in the link below.

Required Intermission Work

Below are some optional practices for you, broken up by what they are reviewing:

Video Lessons to review

Submission

When you have completed this challenge, submit by creating a Pull Request back to the turingschool-examples repo. Include the following information:

  • Your Name
  • A reflection on how you felt you did with this challenge and what story you got through

Requirements

  • TDD all new work; any model METHODS you write must be fully tested.

Overview

Order up is an app that tracks chefs, the dishes that they make, and the ingredients that are in those dishes. Chef's have many dishes. Dishes belong to a chef. Dishes have many Ingredients and Ingredients have many dishes. Ingredients should have a name and calories.

Two migrations have been made for you. The one to many relationship has been set up. You will need to create migrations for the many to many relationship between ingredients and dishes. You do not need to do model testing for validations, just make sure you test any relationships and model methods that you create.

(Note: The plural of dish is dishes. The plural of chef is chefs.)

Instructions

BEM2 Final Technical Assessment

Description

Seattle Grace is based off of Grey’s Anatomy, but you need NO knowledge of Grey’s Anatomy to complete this final. Hospitals have many Doctors, Doctors work for just one hospital. Doctors can have many patients, and patients can have many doctors.Make sure to read all instructions and user stories before getting started. ​

Database Information

  • Hospitals have a name
  • Doctors have a name, specialty, and university that they attended
  • Patients have a name and age

Submission

When you have completed this challenge, submit by creating a Pull Request back to the turingschool-examples repo. Include the following information:

  • Your Name
  • A reflection on how you felt you did with this challenge and what story you got through

Requirements

  • TDD all new work; any model METHODS you write must be fully tested.

Overview

We are creating an application to track movies. We have studios, which have movies, and movies have several actors, and actors can be in several movies.

  • Studios have a name and location
  • Movies have a title, creation year, and genre
  • Actors have a name and age

You will need to create all the migrations.