Last Updated: February 25, 2016
·
1.248K
· deivid-rodriguez

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!