Use pry as your default Rails 4 console in one line
Make sure you have pry
included in your Gemfile and add
config.console = Pry
to your config/environments/development.rb
or to your config/application.rb
if you want it in every environment.
It doesn't get any simpler!
Written by David
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#