Skip to content

Commit 885f60b

Browse files
author
Maria Kravtsova
authored
Update README.rdoc
1 parent 4c022c7 commit 885f60b

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)