This morning you will create a Rails review guide. Your group will be assigned one of the questions below. You will create a README review file based on your question.
-
Fork and clone this repo
-
Create a README file. The file name should include your question.
- For example, if your question is
What is REST-ful routing?
then name your filerestful-routing.md
.
- For example, if your question is
-
Make a git commit and submit a pull request on this repo for your README file.
-
Include your names and the question in the title of your Pull Request. For example,
Marc + Usman: What is REST-ful routing?
-
Additionally, each group should create a Google Sheet for a
backpack
resource like we did yesterday: https://docs.google.com/spreadsheets/d/1WI1MeQF34UJ_HirKU7NH2wwivXjGO32penDmYBEuhnI/edit#gid=0- Include a link to your Google Sheet in your Pull Request.
Each group should make a reference or include a link to the Rails documentation for each of these.
- What is Active Record?
- What is MVC?
- What is REST-ful routing?
- What does the Rails
form_for
method do? - What does the Rails
link_to
method do? - What are migration files and why do we need them?
- What is a templating language? Which one are we using with Rails?
- What are Rails partials and why do we use them?
- Describe Rails Strong Parameters.
- What does the
rails routes
command do? - Describe
foreign_key
andprimary_key
. How are they useful? - Walk us through the setup and code for a one to many association for
classroom
andstudents
in Rails.