12

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

When I display a long result in the console ie. Model.all or .really_long_string, I cant seem to get past the string or value that is displayed and the console displays "(END)" at the end of the console.

What command do I use to get past this so I can continue entering ruby statements on the console without having to close the terminal window?

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

koa
  • 515
  • 6
  • 17

1 Answers1

19

Looks likes the END is made by a pager. Have u tried typing "q"?

Benjamin Tan Wei Hao
  • 9,621
  • 3
  • 30
  • 56