Sometimes when debugging you don’t want to type in
rails console (pry or any other REPL) what you have already typed. When code to be copied has multiple lines, pasting formatted code as it is may not work. In this case I’m joining lines with Ctrl j temporarily.
This this out next time!
This protip has been written in 461 seconds