How to view the entire Rails console history?

ruby-on-rails

Solution

Look at `~/.irb-history`, you will find the history there.

Problem

Does anyone know how to view the "history" in the rails console? Pressing the up arrow lets me iterate through recent commands, but I'd like to see them all together in a list. I'm basically looking for the rails equivalent of the Unix `history` utility. Is this possible in rails? If so, how?

Original source