Skip to content

Instantly share code, notes, and snippets.

@amaseda
Created March 11, 2016 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amaseda/54223fc96f914500ff15 to your computer and use it in GitHub Desktop.
Save amaseda/54223fc96f914500ff15 to your computer and use it in GitHub Desktop.
hall_oates = Artist.create({
name: "Hall & Oates",
photo_url: "greatest_band_evar.jpg",
nationality: "Philly"
})
limp_bizkit = Artist.create({
name: "Limp Bizkit",
photo_url: "fred_durst.png",
nationality: "Jacksonville"
})
weird_al = Artist.create({
name: "Weird Al Yankovic",
photo_url: "weird_al.jpg",
nationality: "Amish Paradise"
})
hall_oates.songs.create({
title: "Private Eyes",
album: "Private Eyes",
preview_url: "spotify.com"
})
limp_bizkit.songs.create({
title: "Break Stuff",
album: "Significant Other",
preview_url: "grooveshark.com"
})
weird_al.songs.create({
title: "The Saga Begins",
album: "Running With Scissors",
preview_url: "tidal.com"
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment