rails console

bin/rails console β€” a REPL wired into your whole app

irb gives you a plain Ruby REPL. bin/rails console gives you the SAME REPL, but with your entire app already loaded β€” every model class, every gem, the whole database connection. It's the fastest way to poke at data without opening the browser or writing a script.