Rails console pry / irb "stuck" after displaying a long value / string

I am developing rails on mac using the rails console via pry / irb.

When I show a long result in the console, i.e. Model.all or .really_long_string, I can not go past the line or value that is displayed, and the console displays "(END)" at the end of the console.

What command am I using to get past this so that I can continue to type ruby ​​instructions on the console without closing the terminal window?

I recently discovered Ctrl Z to close the console, but I guess there is a better way

+7
source share
1 answer

It looks like END is created by a pager. I tried to enter "q"?

+12
source

All Articles