Skip to content

Instantly share code, notes, and snippets.

  1. What does MVC stand for? minimal viable product
  2. What is the purpose of MVC? find the core essentials of app
  3. What is the command you would use to generate a new rails application called "twitter"? rails new twitter -d postgresql
  4. Which file do you edit to add additional gems to your rails app? Gemfile
  5. What is the purpose of .gitignore file? to exclude file from being pushed to github
1. What is the difference between a local variable, and an instance variable?
local variable is only applicable to immediate context
instance variable is available throughout the class
2. What is the datatype of `"DevPoint Labs"`?
string
3. Assign the number `10` to the local variable `n`.
n = 10