Use Pry instead of irb in rails console
Pry is the coolest irb alternative there is. It seems like there are no features and goodnesses it doesn't support. You can read more about Pry here.
Anyways, if you want to use Pry instead of default rails console, just toss this line into your Gemfile:
gem 'pry-rails', :group => :development
and do bundle install
.
Written by Pavel Pravosud
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#