The line of code to write in terminal for rails is
rails generate model movie title:string description:text director_id:integer
next enter rails db:migrate which creates the data table in the database for you to add to later.This is important to know because you cannot create tables of information in the rails/db url page.
Top comments (0)