A few quick notes on your subject:
Lamps are data that you can submit for testing your device. They are automatically created when the rails generate the appropriate tests for your controllers and models. They are used only for your tests and, in fact, may not be available at application startup.
By default, Rails provides two fixtures named "one" and "two" each time. You can change them as you wish. In addition, the data entering the fixtures is executed when you pass the keys to the database columns that you want to use when using the generator. In the first example, you used rails g model Post title: string ... you created the Post model and passed two keys :: title and: text.
Answer:
As for your last question, you can quickly solve the problem a) Deleting the old forest by typing the following at a command prompt:
rails d scaffold Student
b) Create it again, but this time using the keys you want:
rails g scaffold Student name:string
source share