Skip to content

Commit c578718

Browse files
potomaksodabrew
authored andcommitted
Fix code snippet (brianmario#1002)
1 parent bc73887 commit c578718

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ end
157157
How about with symbolized keys?
158158

159159
``` ruby
160-
client.query("SELECT * FROM users WHERE group='githubbers'", :symbolize_keys => true) do |row|
160+
client.query("SELECT * FROM users WHERE group='githubbers'", :symbolize_keys => true).each do |row|
161161
# do something with row, it's ready to rock
162162
end
163163
```

0 commit comments

Comments
 (0)