Skip to content

Instantly share code, notes, and snippets.

/ruby.rb Secret

Created March 8, 2018 15:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3326476303ebe3f37011ba5caa57cb8d to your computer and use it in GitHub Desktop.
Save anonymous/3326476303ebe3f37011ba5caa57cb8d to your computer and use it in GitHub Desktop.
Example 1:
conn.select_all(query) do |blabla|
p blabla
end
Example 2:
drkedrke = conn.select_all(query)
drkedrke.fetch_hash do |nja|
p nja
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment