Seeing SQL 🔗 Have you ever needed to display the SQL query used to generate the data in the report you’re also showing? Me neither. UNTIL I DID. And when I did, I wanted it to look nice. Readable. Formatted. Something that didn’t look like this: irb(main):001:0> puts "SELECT * from FOOS join bars on foos.id = bars.foo_id WHERE A = true AND B = 'test' OR coalesce(status, 'unknown') <> 'unknown'"SELECT* from FOOS join bars on foos.id = bars.foo_id WHERE A =trueAND B ='test'OR coalesce(st...