Ruby on Rails
TutorialStepFour

<— TutorialStepThree | Tutorial | TutorialStepFive (Testing) —>

Create New Model

Create a new model using the ‘script/generate model’ generator
(run with no arguments for documentation).

./script/generate model Person

This model will be linked to the table “people”, that we created in TutorialStepOne.

<— TutorialStepThree | Tutorial | TutorialStepFive —>

category:Tutorial