PG::ReadOnlySqlTransaction: ERROR: cannot execute SELECT in a read-only transaction

I haven’t used it yet but if for running direct SQL queries I believe this is what you’re looking for! —