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

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -