Rails console commands

I’m actually using AI to write SQL queries. It can do it way faster than me!