Skip to content

Instantly share code, notes, and snippets.

@kirnovak
Created April 14, 2014 11:41
Show Gist options
  • Save kirnovak/10640519 to your computer and use it in GitHub Desktop.
Save kirnovak/10640519 to your computer and use it in GitHub Desktop.
ActiveRecord::Base.connection.execute("SELECT * FROM users")
ActiveRecord::Base.connection.execute("select * from customers").fetch_row
results = ActiveRecord::Base.connection.execute("select * from customers")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment