similar to: Generate PDF

Displaying 20 results from an estimated 10000 matches similar to: "Generate PDF"

2009 Jul 13
12
.html/.html.erb/.rhtml to PDF
Hello All, I wanted to convert .html file into .pdf. is there any rails plugin ?? Thanks, Sandip R~ -- Ruby on Rails Developer http://sandip.sosblog.com http://funonrails.wordpress.com www.joshsoftware.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2010 Sep 23
6
Named scope in named scope ??
Hi, I would like to return a combination of named scopes in a named scope : For example, I have a named scope filter and I want to add a named scope eval_filters like Product.eval_filters([''x'',''y'',''z'']) is equivalent to Product.filter(''x'').filter(''y'').filter(''z'') Anybody know how can I
2009 Oct 07
2
Rails, flash, function and parameter
Hi, I try do update the flash on my page with ajax. I have this on my layout : <div id="flash_messages"> <%= render :partial => ''layouts/flash'' %> </div> I have this on my ApplicationHelper : def reload_flash page.replace "flash_messages", :partial => ''layouts/flash'' end and I try do that on my controller :
2010 Mar 27
1
ar_mailer, class Email : add field to the table?
Hi, I use ar_mailer to send emails from my application. I want to build a page where the admin case see the queue of mails and the possibility of remove some mail in the queue if he wants. The email in the queue are save in the AR model Email. I have an AR model Sent where i save the email that the user sent. I would like to add to the model Email a column to save the id of the corresponding
2012 Mar 20
9
Rails 3 generate pdf
Dear All, i am developing an application with rails 3, and now i need to generate a pdf file,i search a lot, and try a lot ,such as prawn ,PDFkit and so on, it seems that prawn is no response in rails3, and when i use PDFKit, it asked me to install wkhtmltopdf first, i try to install this,but failed, anyone can help me ? Thanks very much. Daisy -- Posted via http://www.ruby-forum.com/. --
2009 Oct 09
2
Heavy reports with a lot of calculations
Hello, I am working on reports now where we are using MySQL (InnoDB) and Rails 2.3.4. Tables are big and there are a lot of calculation with several big tables. Please give me some suggestions whether there any gem, plugin, articles, or techniques that allows me to create heavy reports. I am even going to use cron job that allows me to calculate some middle data in order to provide heavy
2010 Jun 21
14
Controllers, what? why?
Hi, I am starting to learn rails and I went through the guide and a couple of tutorials. Even though I understand controllers or at least I can use them I can''t see yet the whole picture. Why do you need several controllers for a single application? If a controller is just a class whose methods interface with models and views, why not have a single controller for the whole application?
2010 Mar 16
7
Recommendations for pdf generators
hi, everyone, i have googled around for some pdf generators. Found 1) PDF::Writer which is a little dated 2) Rupdf (http://scoop.simplyexcited.co.uk//2007/12/15/rupdf-simple- ruby-pdf-rails-plugin/ and http://agilewebdevelopment.com/plugins/rupdf) - it''s a little dated. Last revision was on 15th of Dec, 2007. Any recommendations for pdf generators? thank you -- You received this
2010 Aug 22
5
Help me... how to convert amchart to pdf
Hi Guys I need help.. I want to making 1 controller for covert html to pdf.. But that html have amchart (swf). When I tried convert, the swf not loadded... Any body can help me Please???? -- Senior Rails Developer Anton Effendi - Wu You Duan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send
2010 Mar 09
4
edit existing PDF as template
Hi, I am new to rails. I need to edit an existing pdf file and fill in some data and send it to browser, how to implement this? Is there an example online I can look at it? Thanks! -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2008 Oct 26
2
use Prawn to generate pdf
Hello: when i use Prawn to generate pdf file for download, i got a blank pdf file, can someone tell me why? require ''prawn'' class DownloadController < ApplicationController def download_pdf send_data(generate_pdf, :filename => ''test.pdf'', :type => ''application/pdf'') end private def generate_pdf
2009 Nov 20
7
Soft Deletes
Hello all, I am wondering how people here are handling soft deletes in Rails. I''ve need a couple of gems/plugins that seem to handle this but from what I gather development has stopped on them. All I need to do right now is mark something as deleted in the DB...nothing fancy. I''m thinking that the simple addition of a deleted_at column, some named scopes (maybe even a default
2012 Feb 22
6
PDF Creation Best Practise
Hi there, I''m looking for a powerful pdf creation libary. I already tried: prawn - Nice handling but way too slow when lots of tables are involved PDFKit - too slow Actually I''m trying prince with xml input. It''s pretty fast but I don''t like the page-break control. I need a libary which can create pdf''s with up to 90 pages with lots of nested
2010 Jan 15
2
Generating views in pdf, rtf, or doc format
I have a requirement to generate views (list and show views, including data and uploaded images) into a format that can be saved and/or emailed. I''m looking for opinions on the easiest way to achieve this. I''ve researched the use of both PDF::Writer and Prawn, and it seems that to re-generate my views in pdf format will require a lot of work. Is there an easier way using .rtf
2009 Aug 14
3
EC2 -> EBS -> S3 ?
Greetings! I''d appreciate hearing from anybody who''s had experience with any of this. I''ve got a Rails app that currently deployed on EC2 with MySQL and am readying to move from a dev / prototype model to a full-scale production model. Right now I''ve got a single MySQL instance. I''m getting ready to move that to a master-slave setup. I''m
2010 Jun 30
2
One time shot feed params from development
I got a confirmation on my development system that should have gone to the production system and so I have a ''Post'' set of data which I know from my development logs that I want to feed to my production system. Is there some easy way to do this in the console or do I have to try to recreate it with wget or a web browser? Craig -- This message has been scanned for viruses and
2010 Jun 30
1
Prawn gem: How to create the .pdf from an *existing* file
Hi there, Can anybody show me (maybe copy/paste a simple code example) how to create the .pdf file from an existing (.xls) file, using the Prawn gem? Basically, I''d need the command that takes an existing (.xls) file to save it as a .pdf, afterwards. (I''m asking because the Prawn documentation at http://prawn.majesticseacreature.com/docs/ seems to be gone since quite a while -
2010 May 13
20
HTML and CSS to PDF
I would like to take a rails page and convert it to a pdf. I don''t want to have to generate the code myself for making the pdf, so it should obey css. What is the best tool for doing this? Does the tool use the standard css, or can I provide it alternative print-css? Thanks in advance, Jonathan Steel -- Posted via http://www.ruby-forum.com/. -- You received this message because you
2012 Jan 07
2
set a default value with simple_form
hello anyone know how i can set a default integer value with simple_form, i have code like this below in my view but its not working. <%= f.input :age, :value => ''30'' %> i would like the input box to have the value of 30 by default thanks for any help. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google
2010 Dec 01
1
Prawn : undefined method `make_table'
require ''prawn'' require ''prawn/core'' require ''prawn/layout'' Prawn::Document.new do |pdf| subtable = pdf.make_table([[ "foo", "bar" ], [ "baz", "bax" ]], :column_widths => [ 50, 50 ]) { column(0).background_color = "808080" cells.borders = []