So I’m working on a CMS to help record labels manage artists, albums,
So at the moment I have
What I’m trying to do is create an action on the front end that will
allow me to list all the Artist names (in the database it’s called
artist), then under each artist name list all their shows and albums.
I’ve been able to do this for individual pages with actions
@artist = Artist.find(params[:id])
so the address is /showartist/1 for example, then it will list the
artist with ID 1, and the album and show with artist_id 1.
How could I include them all on one page?