From 885f60b6667d13a49af4bffe9219eb9a51eb1032 Mon Sep 17 00:00:00 2001 From: Maria Kravtsova Date: Thu, 12 Dec 2019 10:31:53 -0500 Subject: [PATCH] Update README.rdoc --- README.rdoc | 1 + 1 file changed, 1 insertion(+) diff --git a/README.rdoc b/README.rdoc index e2d8981d14..a4b0914626 100644 --- a/README.rdoc +++ b/README.rdoc @@ -232,6 +232,7 @@ class definition below: post = Post.find(1) # issues GET http://blog.io/posts/1.json comments = post.comments # issues GET http://blog.io/comments.json?post_id=1 +In this case, the `Comment` model would have to be implemented as ActiveResource, too. If you control the server, you may wish to include nested resources thus avoiding a second network request. Given the resource above, if the response includes comments