doc: update

main
Washington Botelho 2018-01-08 15:55:54 -02:00
parent 135b1f67ab
commit af8621c0fa
No known key found for this signature in database
GPG Key ID: BECE10A8106CC7A0
1 changed files with 3 additions and 3 deletions

View File

@ -136,12 +136,12 @@ author.rated? resource
### rates ### rates
You can retrieve all rates made by some author: You can retrieve all rates received by some resource:
```ruby ```ruby
author = User.last resource = Article.last
author.rates resource.rates
``` ```
It will return a collection of `Rate` object. It will return a collection of `Rate` object.