Helper to create multi-dimensional arrays

  1. gem install ruby-debug

  2. Add the following to wherever you need a breakpoint:
    require ‘ruby_debug’; debugger

  3. Debug away

This is much faster and more usable than standard debug.