Consider installing the pry gem, which will let you open an interactive console wherever it is you're getting your response.
You can set a "break point" of sorts with binding.pry
, and your server will drop into an REPL console (not unlike irb) where you can inspect the response.