I am Dmitri Moore, a full stack architect and hands-on coder. I've been programming
for almost 2 decades now and saw many frameworks going from
super popular to fairly forgotten. So far, PKAN is my favorite stack:
Let's see how long this one is gonna stick around.
Activate Hirb Formatted Output in Pry-enabled Rails Console
January 14, 2014
So, you’ve finally found some free time to replace your default Rails console with Pry
and now you want to see nice Hirb formatted output
instead of the default IRB one? I hear you. To achieve that just add the following lines to your local ~/.pryrc file
and start (or restart if you already have it running) the Rails console. You should be all set now.
For exmaple, Here is how Hirb formats the output of your Rails model rows:
To switch back and forth between the default IRB-foratted output and Hirb-formatted output in Rails
console use Hirb.disable | Hirb.enable commands respectively: