未定义的方法`border_lines ='for#

时间:2013-07-31 03:22:07

标签: ruby-on-rails ruby pdf-generation prawn

我有对虾版本0.12.0的错误:

undefined method `border_lines=' for #<Prawn::Table::Cell::Text:0x007fe9454aaa70>

代码:

data = [
    ["ship date", "#{order.shipping_date}"],
    ["order #", "#{order.order_number}"]
       ]
table(data, :cell_style => 
             {:border_lines => [:dotted, :dotted,:dotted,:dotted]}
      )

提到manualenter image description here

0 个答案:

没有答案