ruby on rails - How to check object structure in controller -
i working on ruby application created controller accepts object/array parameter , process generate output not getting output in proper required format, object/array seems when passed controller there must issues blocking proper output not getting how debug it.
def duplicate @job in @pipeline.jobs @job.save end end
it tried print object structure getting error. thought use javascript console.log dont know how implement inside controller.
is there way check object/array structure or see output on screen.
Comments
Post a Comment