aanyone help me for pdf formate

i installed the prown gem for getting my data in pdf formate but i
getting error
undefined method `to_sym' for PDF:Module
i used this
  def show
    @student = Student.find(params[:id])

    respond_to do |format|
      format.json { render :json => @student }
      format.pdf { render :layout => false }

Hi Sudhir,

The best way to get a solution to this issue is using a gem instead
of prown gem.

You can simply use the "pdf-writer" gem instead of prown & it will
give the result what you actually expected.

Hope this information useful to you. If you really want to update
more about Ruby on Rails and its development, Then just check this


Have a Nice Day...

Daniel Jackson