From af8621c0fa8609eb3f6c1030adbd195500d3d3c8 Mon Sep 17 00:00:00 2001 From: Washington Botelho Date: Mon, 8 Jan 2018 15:55:54 -0200 Subject: [PATCH] doc: update --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4dbf5e8..34c5f72 100644 --- a/README.md +++ b/README.md @@ -136,12 +136,12 @@ author.rated? resource ### rates -You can retrieve all rates made by some author: +You can retrieve all rates received by some resource: ```ruby -author = User.last +resource = Article.last -author.rates +resource.rates ``` It will return a collection of `Rate` object.