Excerpts from Linus P.'s message of Mon Mar 21 08:37:33 -0700
artist_songs GET /ackord/:artist_id(.:format)
artist GET /ackord/:id(.:format)
Perhaps this is actually better and instead of showing the songs
inside artist#show I filter the songs and show them in songs#index
Personally I think it’s fine for this logic to live in the songs
especially given that you’ve effectively namespaced the songs (by
making it a nested resource.
That said, there is a bit of an ugliness in the route collision,
since rails presumably doesn’t guarantee the how the collision is
OTOH there’s a lot of ugliness in having to specify each route manually.
someone else on the list has a better suggestion than the one I offered,
have to simply pick your poison.
med vnlig hlsning
David J. Hamilton