Commit b6cec622 authored by Takuya Noguchi's avatar Takuya Noguchi

Fix a typo in SQL Query Guidelines

Signed-off-by: default avatarTakuya Noguchi <takninnovationresearch@gmail.com>
parent 67088561
......@@ -220,7 +220,7 @@ Project.select(:id, :user_id).joins(:merge_requests)
Never use ActiveRecord's `pluck` to pluck a set of values into memory only to
use them as an argument for another query. For example, this will execute an
extra unecessary database query and load a lot of unecessary data into memory:
extra unnecessary database query and load a lot of unnecessary data into memory:
```ruby
projects = Project.all.pluck(:id)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment