Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down