Skip to content

Instantly share code, notes, and snippets.

@kingcons
Created May 20, 2015 12:57
Show Gist options
  • Save kingcons/384cec82123e49d2f5a7 to your computer and use it in GitHub Desktop.
Save kingcons/384cec82123e49d2f5a7 to your computer and use it in GitHub Desktop.
Quiz - 05/20

QUIZ TIME!!!

Section 1 - Classes & Testing

  1. Where are instance variables visible/in scope?

  2. What is the purpose of unit tests?

  3. Can we call methods on a class anywhere we have an instance of that class?

Section 2 - Models

  1. What is an association?

  2. What are the three common ways we categorize relationships between models?

  3. What is the only way we're allowed to make changes to the schema?

  4. What do we do if we want to go back and change a migration later?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment