I am using prawn gem for generating pdf in ROR. Everything was going very smoothly before working with images. When I am trying to insert an image into the pdf the image is drawn well. But, if the image is located in end of the page in pdf or if the image exceeds the page height then the image gets broke down and the pdf data after the image also gets broken. Please find the image that I have attached for this issue
In the image after the Buildout text, the image is getting broke down and the pdf data after that image also broke down.
I am using gem 'prawn', '2.0.1' gem 'prawn-table', '~> 0.1.0' for the pdf generation and ruby ruby 2.1.2p95
any one can help me on this. Thanks for advance for the solution.