Next up: when the user clicks submit, we need receive the information from the form and create a new row in the database.
Defined a method to handle the processing of the new form data.
Wrote some logic to create a new row in the table, pull the form data out of the params hash and populate the blank row with it, save the row, and redirect the user back to the list of all pictures.
Next up: the user should be able to request a form to enter information to edit an existing picture.
Defined a method to handle the form for editing an existing picture request.
Created a template to draw a form for editing an existing picture.
Prepared the data required for the view. We want to pull up the existing information out of the database so that we can pre-populate the form as a convenience for the user.