MOAR REPS with Sinatra's Songs
We need moar reps. Let's run through our process again! Pick a random partner in the class (someone you haven't worked with before) and create a new Github repository called sinatras_songs
. You're going to pair program to create an application called sinatra_songs
.
- We need a database to store songs!
- Songs have
artist
andtitle
. Perhaps even arelease_year
? - Let's create a
Songs
table to store them. - Now that we know this works, create a migrations that store the connection/creation information regarding our database.
- Once our database is all set, create an application in Sinatra!
- This application should render all of the
songs
in our table on a page. - Utilize Models (and ActiveRecord) and Views (ERB) to render them out!