Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixes active_record_querying #pluck example

  • Loading branch information...
commit b045b5c1636b61cb38d87ac761289fe0794b0f20 1 parent c5b5c68
@awilliams awilliams authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  guides/source/active_record_querying.md
View
2  guides/source/active_record_querying.md
@@ -1399,7 +1399,7 @@ Client.select(:id).map { |c| c.id }
# or
Client.select(:id).map(&:id)
# or
-Client.select(:id).map { |c| [c.id, c.name] }
+Client.select(:id, :name).map { |c| [c.id, c.name] }
```
with
Please sign in to comment.
Something went wrong with that request. Please try again.