Last active
January 10, 2017 09:31
-
-
Save akwiatkowski/52da27ede20da27ea6627a3a722b8225 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
result = db.query("select * from events;") | |
result.each do |row| | |
end | |
# too many block arguments (given 1, expected maximum 0) | |
result.each | |
# 'PG::ResultSet#each' is expected to be invoked with a block, but no block was given |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment