Advantage of nested resources?

I don’t know if I understand the advantage of a nested REST resource.
Is it simply the cleaner URL?

This web site shows 6 different steps to get it to work:

I have about 8 or 10 resources that could be nested under Users, which
would be somewhat laborious to me.

Right now I simply pass in the user_id as a field. Can someone tell me
if it would be advantageous for me to use use nested resources?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs