SQLRunner allows you to load your queries out of SQL files, without using ORMs. Available only for PostgreSQL and MySQL.
MIT License
A collection of Ruby libraries for working with SQL on top of ActiveRecord's connection
A Gem for creating partial anonymized dumps of your database using your app model relations.
A gem to spy queries running with Active Record and report missing indexes