-
-1 votesanswersviews
使用Wicked pdf下载多个pdf
如何使用Wicked-pdf下载多个pdf 下面是我在这里使用的代码行, @awb_orders = Spree::Order.where('created_at >= ? AND created_at <= ?', DateTime.now-1.month, DateTime.now).where(:state => 'complete').order("create... -
0 votesanswersviews
邪恶的pdf方面问题
我正在使用wicked pdf导出一个表 这是使用邪恶的控制器 def print_invoice respond_to do |format| format.pdf{ send_data render( ####### WICKED CODE ###### :pdf => "invoices", ... -
-1 votesanswersviews
无法在rails 4中生成邪恶的pdf
大家好,我正在尝试在rails 4中使用邪恶的pdf . 我按照这个页面https://github.com/mileszs/wicked_pdf . 我做了: gem install wicked pdf 然后我尝试了命令 rails g wicked_pdf ### And got "Could not find the generator" 我正在尝试导出视图 这是d...