A neccessary review
In our first class I was behind the ball in the first 5 minutes. Even remembering how to start up my test server was a distant memory from App Dev I. Throughout the class the material started to lo...

Source: DEV Community
In our first class I was behind the ball in the first 5 minutes. Even remembering how to start up my test server was a distant memory from App Dev I. Throughout the class the material started to look familiar as the rust began to fall off. To aid in my review I'm documenting building out the directors: model and sharing some learnings along the way. Our goal Develop a symetrical functionality to the movies: model for directors using idiomatic (at least as far as I know at this point...) Ruby. Key Functions: Display an index of directors that links to each director's page Show each director's details on their own page Allow edits to each director Delete a director entry Model We can use rails g model Director <items> to generate the model for the new functionality. Let's try rails g model Director name dob style We can then add some requirements to the database such as validates :name, presence: true validates :dob, presence: true Now if we try to create a record in our database w