This is a worthwhile read, There's More to Ruby Debugging Than puts().
One of the most useful has been #method
, with #source_location
, #arity
, #to_proc
etc. I regularly work with Rails 4.2 and Ruby 2.2 — as such my debugger is byebug with pry-byebug.