Adds the `bin/rails query` command from Rails main (rails/rails#57156) to apps running Rails 7.2, 8.0 and 8.1. Runs Active Record expressions or raw SQL against a read-only connection and prints structured JSON, with pagination and schema/model introspection.

Required Ruby Version

>= 3.1

Authors

Lázaro Nixon Amaral de Almeida

Versions

  1. 0.1.0
    1. source

      1. 0.1.0 source October 22, 2026 (10 KB)

Pushed by

SHA 256 checksum