- What does
MVC
stand for? minimal viable product - What is the purpose of
MVC
? find the core essentials of app - What is the command you would use to generate a new rails application called "twitter"? rails new twitter -d postgresql
- Which file do you edit to add additional gems to your rails app? Gemfile
- What is the purpose of
.gitignore
file? to exclude file from being pushed to github
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |