minor corrections

This commit is contained in:
Sean Carroll 2018-03-22 13:45:02 +01:00
parent 520908c4c3
commit b0fda32e1f
1 changed files with 1 additions and 1 deletions

View File

@ -513,7 +513,7 @@ def index
end
```
Yet another mehtod to solve such problem with Postgresql is to use ActiveRecords's `.includes` in combination with `.group` instead of `distinct: true`.
Another method to approach this when using Postgresql is to use ActiveRecords's `.includes` in combination with `.group` instead of `distinct: true`.
For example:
```ruby