Permalink
Browse files

fixes active_record_querying #pluck example

  • Loading branch information...
1 parent c5b5c68 commit b045b5c1636b61cb38d87ac761289fe0794b0f20 @awilliams awilliams committed Mar 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit b045b5c

Please sign in to comment.