similar to: need to save generated pdf in public folder

Displaying 20 results from an estimated 100 matches similar to: "need to save generated pdf in public folder"

2008 Dec 16
3
Princely Plugin: get nil.size error
Hi All, I want to generate pdf with css. I am using princely plugin. This is code which I written def pdf prince = Prince.new() html_string = render_to_string(:template => ''/users/paid_invoice.pdf.erb'') send_data( prince.pdf_from_string(html_string), :filename => ''some_document.pdf'', :type =>
2008 Sep 08
2
Problems with async worker request
Sorry if this comes through twice. I already sent this once, before joining the mailing list. I''m attempting to use Backgroundrb to handle asynchronous pdf creation, but in doing so, I''ve run into a very strange problem. Below is a method that''s called from the controller which creates a new worker, then grabs the worker and calls the ''build_pdf''
2012 Jul 22
1
RSpec/rails & Capybara: #within
I''m new with Capybara and after a good amount of google, I still can''t figure out how the #within methods works! I can use it only if I call visit before? There''s no way to use it on a string, like the `page = Capybara.string(html_string)` trick? When describe a view, I want something like that: describe "path/to/view.html.erb" do it "should pass"
2007 Dec 21
1
Princely - Prince XML PDF Wrapper Plugin
Recently I was implementing PDF generation for a project utilizing the fantastic library Prince XML (http://www.princexml.com). I came across a blog article with a basic library and helper set for Prince (http:// sublog.subimage.com/articles/2007/05/29/html-css-to-pdf-using-ruby-on- rails), which provided a great basis. I wanted to make something a little more generalized and in-keeping the Rails
2007 Aug 03
1
O(?) access time for rownames/colnames/named dimensions
Dear princely R developers to whom I owe so much of my daily productivity level, I am wondering how indexing by row and column names are implemented. That is, when I have a matrix with named rows (or columns) and I then index into that matrix using the string names (rather than integers), how does R scan through the list of names in order to figure out which row/column to use? My current
2013 Feb 04
3
Wicked pdf
Hello Guys I am using rails 3.2.8 and wickedpdf. Its working well in local but not in production.Below is the production logs error. "***************\"/var/www/apps/staging/shared/bundle/ruby/1.9.1/bin/wkhtmltopdf\" -q \"file:///tmp/wicked_pdf_9892_0.html\" \"/tmp/wicked_pdf_generated_file_9892_0.pdf\" ***************" RuntimeError: Failed to
2009 Mar 20
4
Reporting with Rails
Hi all, I was wondering how you guys generate reports from rails. I want to generate business reports in pdf format, and was wondering what you guys use. I have searched the web and found Ruport, but there isn''t much documentation or examples of real world business reports like jasperreports, for instance. Is it possible to generate good looking business reports with ruport? What other
2013 Jan 25
4
store pdf directly to amazon
Hello Everyone, I am using wicked pdf and rails 3.2.8. I can generate pdf (html to pdf). How can i store my pdf file into amazon s3 without storing in *Local.* * * *Please help* -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to
2013 Oct 25
1
Intern at Barron's ! -- use statistics for investigative financial journalism
We're seeking interns for the summer of 2014 here at Barron's the Dow Jones newsweekly that's searched out good investments and financial frauds since 1921, when our founder exposed Charles Ponzi. We're at the center of the financial world in New York and can pay a bit of a stipend to cover the city's high living costs. Here's the blurb: Do some good. Intern at
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 Dec 01
2
Develop Facebook app using rail
hello please tell me the way to develop facebook app by rails need to which is good tool available now facebooker , rfacebook ,mini_fb and how to do post on users wall, email user , or send message to user Any link , notes , tutorials , blog Thanks in advance :) -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to
2011 Oct 05
0
Internship Opportunity at New York financial weekly
It's not too early for statistically-adept students to think about underpaid, but life-altering, internships for the summer of 2012. In fact, after November 1st it may be too late to apply here at Barron's. This will be the second summer we've offered paid internships, which means that applicants can now poll the hapless folks who interned this past summer. Contact me, Bill Alpert, and
2013 Jan 31
1
WickedPdf error in production
Hello everyone, I am using rails -v 3.2.8. I am using wickedpdf to generate pdf. Its working well in my local machine. But its not working in production server. ompleted 500 Internal Server Error in 4443ms RuntimeError (Failed to execute: "/var/www/apps/staging/shared/bundle/ruby/1.9.1/bin/wkhtmltopdf" -q "file:///tmp/wicked_pdf_5855_0.html"
2009 Apr 27
5
ruby jasper report
Hi, I am trying to create a pdf using ruby jasper. For this I am referring this url:- http://oldwiki.rubyonrails.org/rails/pages/howtointegratejasperreports I have done everything whatever is in that link. Still I am not able to get the pdf. I am not getting any error in log file. My log file is:- "Processing AccountController#customer_report (for 127.0.0.1 at 2009-04-27 13:19:34) [GET]
2008 Feb 02
6
Suspended start of task not suspended
Hi I thought this should suspend the task by 1 minute, but it starts immediately: MiddleMan.ask_work( :worker => :bar_worker, :worker_method => :test_method, :trigger_args => { :start => (Time.now + 1.minute)}) Is the start argument not allowed in the new backgroundrb (mine is at rev HEAD (=314))? What can I do about this? I really need to suspend starting the task as I want
2008 Sep 15
2
Passing an array into controller
I am trying to pass and array from an AJAX Javascript function to a controller. The parameter is being read as a single string and not an array. The Javascript function: function sendtolist(formName){ var form = $(formName) var checked = [] checked = form.getInputs("checkbox","plans[]").findAll(function(item) { return item.checked; }).pluck("value");
2007 Jun 28
7
Custom report outputting text, expected and actual on succes?
I would like to output the following information when running a spec (_also_ on success): - the description text - the expected value - the actual value After looking through the documentation I thought custom formatters might be the way to go, but unfortunately it does not look like all variables are accessible from there? I need this for an academic report where all testing needs to be
2011 Jan 12
14
WickedPDF vs PDFKit vs. Prawn, etc.
Thoughts on using WickedPDF vs PDFKit vs. Prawn or others for developing forms with dynamic content? TIA, Garrett Lancaster -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to
2006 Jan 17
2
Rails Unit test Problem
Hi all, I have a problem with unit test database data reload. I have several test_xxx function in my ruby unit test file I would like to know why xxxx.yml containing test data are load only 1 time for all the test while specification say it done for before each test method. Thus my test_xxx are dependant of previous test This is a mistake, because the specs say the test data are reload
2007 Jun 07
6
Can't download files with send_data or send_file
I have a form_remote_tag that calls a method to print out a csv file for download. If I tell the form_remote_tag to update a div the data comes up in that div, but otherwise I can''t get the browser to acknowledge the sent file. >From view: <%= form_remote_tag :url => {:action => "csv_dump" }%> <%= submit_tag "Download Complete List" ,:name