Skip to content

Commit 5038de5

Browse files
authored
Merge pull request #323 from maria-kravtsova/patch-1
Update README.rdoc
2 parents 4c022c7 + 885f60b commit 5038de5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.rdoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ class definition below:
232232
post = Post.find(1) # issues GET http://blog.io/posts/1.json
233233
comments = post.comments # issues GET http://blog.io/comments.json?post_id=1
234234

235+
In this case, the `Comment` model would have to be implemented as ActiveResource, too.
235236

236237
If you control the server, you may wish to include nested resources thus avoiding a
237238
second network request. Given the resource above, if the response includes comments

0 commit comments

Comments
 (0)