search for: get_pdf

Displaying 5 results from an estimated 5 matches for "get_pdf".

2006 May 05
5
Attach a PDF File to an Email
...t_type => "image/jpeg", :body => File.read("an-image.jpg") changing it to: attachment :content_type => "application/pdf", :body => File.read("pdf/my.pdf") There is also this example: attachment "application/pdf" do |a| a.body = get_pdf() end I tried this method passing the file object back from the get_pdf(), but that also is not working. Is there something I am missing? Is there more documentation on attachments for action mailer? So far my only reference has been the wiki and http://api.rubyonrails.com/classes/ActionMailer...
2012 Feb 03
2
PDF and Ruby on Rails
Hi, I am sticking in one problem. Please help me out. The problem is like: What problems can arise when users hits the get_pdf action? If there are problems, how can it be solved? class PdfController < ApplicationController def get_pdf send_data Pdf.create(params[:contents]) end end class Pdf def self.create(contents) make_pdf(contents) # takes 30 seconds to run end end -- Posted via http://www.ru...
2006 Jul 05
2
Protecting Static content
Hi, I want to build a rails backed site which, in addition to some dynamic content, also comprises a number of static content files. There are some static html pages, some powerpoint presentations, and some PDF documents. I want to make sure that the user is logged in before they can access the protected content. I''ve gone through the ''Agile development with
2017 May 24
2
System Time Source
On Wed, May 24, 2017 10:45 am, Warren Young wrote: > On May 24, 2017, at 8:52 AM, Chris Adams <linux at cmadams.net> wrote: >> >> Once upon a time, Warren Young <warren at etr-usa.com> said: >>> a. It???s transmitting from a fixed location in a time zone you >>> probably aren???t in ??? US Mountain ??? being the least populous of >>> the lower
2017 May 25
0
System Time Source
...loaded vertical monopole. The ERP is listed as 70kW, so the antenna gain is already applied to the transmitted signal's specification and thus doesn't need to be considered. (Lots of technical data can be found in NIST's report on the 1998 upgrade: http://ws680.nist.gov/publication/get_pdf.cfm?pub_id=50031 ). Please see http://gpsinformation.net/main/gpspower.htm for the relevant data on GPS (25.6W output, 13dBi gain, EIRP 27dBW (about 500W), free space loss of 182dB, -130dBm receive signal strength (0.1 femtowatts, if I've done the calculation correctly)). > Ground effec...