I'm trying to get PDF table to work ( following railscast example ) but i get the error undefined method
table' for #
This is the pdf class lib (followed railscast way of doing) :
class FeedbackPdf < Prawn::Document
def initialize
super
text_label
pdf_feedbacks
end
def text_label
text "Customers Feedback:"
end
def pdf_feedbacks
table[[1,2],[3,4]]
end
end
Can anyone help me please ?