similar to: Any way around using only 1 render per action?

Displaying 20 results from an estimated 180 matches similar to: "Any way around using only 1 render per action?"

2002 May 28
2
histogramming dates
I'd like to make a plot showing frequency of an event. The data is in a data from that includes Year, Month and Day (of month) fields, so I created a Date with ISOdate(Year, Month, Day, tz=''). I can plot frequencies for the year 2002 with > thisyear <- Date[Year==2002] > hist( thisyear, xaxt='n' ) > axis.POSIXct( 1, at=seq(min(thisyear), max(thisyear),
2010 Oct 06
2
Mailing labels
Any easy way to print on mailing labels that have 3 columns? I need these to fit in my laser printer. I have no trouble with single column labels, but I don''t know how to make a partial display 3 times across a page with different records. Thanks Bob <bsm2th-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> -- You received this message because you are subscribed to the Google Groups
2012 Sep 11
10
wickedpdf
Hi all i''m trying to generate pdf and i got this error Location of wkhtmltopdf unknown and i also get Bad wkhtmltopdf''s path gpa/vendor/plugins/wicked_pdf/lib/wicked_pdf.rb:26:in `initialize'' /EDWARD/_gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `new'' /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `make_pdf''
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
2011 Feb 02
0
webrick, thin and shotgun bug? with dragonfly and wicked_pdf/PDFKit
Hi, i''have started a discussion in dragonfly google group because of problems using dragonfly image processing gem with wicked_pdf. http://groups.google.com/group/dragonfly-users/browse_thread/thread/c8602007c3e43753 In these post I have linked to a public github project for testing this issue. There''s also a heroku app: http://wicked.heroku.com/projects.pdf debug mode of
2012 Nov 26
5
Missing template pages/layout only occasionally
I have my app email me errors when they occur. I get this about 2-3 times a week with thousands of hits a day to the site. pages/show is a .html.erb file that renders the partial _strategicrelationshipacademy.html.erb essentially. Or whatever partial it calls for. I get this on many different ''pages''. Obviously the partial exists if it renders it fine most of the time. What
2013 Feb 25
3
How to use same css in pdf for wkhtmltopdf
hi I am not getting the css in my pdf i wanna use same css for my pdf also rather going for new css for pdf. how can I use same css which I use in my views. I am using wkhtmltopdf for pdf generation and one more thing is how get page page brake using wkhtmltopdf. Cheers, Kp -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
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
2006 Mar 15
8
Ajax request for file downloads
I''m not sure if this has been discussed before, but is it possible to get a file download as a response from Ajax.Request? I know you can have response txt or xml, but how would I go about requesting a file download? Currently I''m requesting the download like this: window.location =
2009 Nov 27
0
Trying to use form_for or fields_for to get one record for display
The reason I''m doing this is that the app is for a foodbank, and I''m trying to use a model as an attendance list. The model will have a date field, with a new record for each month. I need to display only the record for the current month, as way to safeguard against someone visiting too often. I''d like to use checkboxes for when a person attended this month, which is the
2010 Nov 19
0
Wickedpdf
Im using this plugin to convert a html page into a pdf https://github.com/mileszs/wicked_pdf It works great but if i have a file that renders lots of partials then i need to make copies of them with a view type of .pdf. So for show.html.erb i need to make a show.pdf.erb, that makes sense. But if the show file has lots of partials then i need to make copies of them which i dont need to as i wan
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"
2003 Apr 14
7
functions in a package
Hello, I have a beginner's Q: if i want to know all the functions provided by a package, what is command for that? in another word, Is there a command to list all the commands available in a packege? thanks a lot, yan
2009 Dec 13
4
any use of flash causing "stack level too deep"
Is there any way to clear what''s in there? This happens any time flash[] is in my code. It can be setting or reading a value. I''ve tried commenting out all uses of flash in my code to get a few different pages to load, thinking this would clear the values, but no luck. If I get into the debugger, a p flash or pp flash will give a ''Stack level too deep'' error
2009 Jan 22
2
Converting ddf/dct/sas data definition file to R
Dear all, I was wondering whether anyone knows about a program which converts (part of) a data definition file (such as a .dct file for stata, or .sas file for sas) into an R-script. Here is an example with a .sas file: <-- snipp VALUE HTYPE (default=32) 0 = "Not in household" 1 = "Married couple family household" 2 =
2008 Aug 12
1
Problem with using read.csv with web address
Hello, I have a problem with using read.csv(). I want to read a table from the ONS neighborhood statistics website which has an address:
2003 Aug 20
1
query on converting survey data from one structure to another
Dear R users, I am trying to convert a dataset from one format to several rectangular datasets. A consultant helped design the data entry program for our survey using Delphi/Pascal and for each household the information is stored in a file called "EA-HM-HH.TXT" where EA is the enumeration area number, HM is the homestead number and HH is the household number. Within this file the
2010 Aug 03
0
Multilevel GEE (2 nested clusters)
Hi R-Help. I am working on a data set with a 3-level nested structure. I have individuals nested in households and multiple observations on each individual. I assume that the individuals inside a given household are correlated and that the individuals are correlated with themselves over time. The data is not balanced. I have computed a GLMM with logit link function and two random normal
2007 Oct 28
0
calibration question
Good afternoon! I have the following data: a<-data.frame (id_hh=c(1:5), strata=c(1,1,2,2,1), Nhstrata=c(100,100,200,200,100), Nrmemb=c(2,4,2,5,4)) a$ocmemb1<-c("wk","jl","st","jl","st") a$ocmemb2<-c("wk","jl","st","wk","wk") where id_hh is a code of identification for the household (my
2020 Oct 29
0
Creating unique code
Hi Hannah, Yes, that does give me more insight. The polygyny only doesn't matter, for even if there was polyandry it could be coded in the same way. If I understand this correctly you have one variable (SPRULE) that must contain information about the household of the individual and the identities of his (or her) relationship partner(s). The household number can accommodate up to three