wiki (documentation and many of tutorials)
The gem is called pry
. If pry-rails
is also installed, pry will replace irb
in rails console. It will also add some commands such as show-models
or show-routes
. More info on pry-rails here.
binding.pry
will add a breakpoint in the code.