binding.pry
Quick tip: if you use pry, you can simply throw binding.pry into your rails code and it will toss you out to a pry session to play around with your environment.
Quick tip: if you use pry, you can simply throw binding.pry into your rails code and it will toss you out to a pry session to play around with your environment.