doc: update
parent
135b1f67ab
commit
af8621c0fa
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue