Displaying 20 results from an estimated 10000 matches similar to: "Wickedpdf"
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''
2010 Dec 31
1
WickedPDF - wrong number of arguments
I''m trying to get this plugin to work for me. I''m having the
following issue when I try to render a pdf (/fancy_things/45.pdf )..
Any suggestions?
Thanks!
ERROR:
Started GET "/fancy_things/45.pdf" for 192.168.66.1 at Fri Dec 31
10:59:07 -0500 2010
Processing by OrdersController#show as PDF
Parameters: {"id"=>"45"}
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 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
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"
2006 Apr 25
5
markaby or erb?
Guys,
We''re embarking on a new dev project, and I''m curious....why would one
choose markaby over erb? I for one am no fan of the erb syntax, but
aside from that it''s similar to other technologies I''ve used in the
past: PHP, JSP, ASP, etc.
Why would one choose markaby over erb? What are the benefits? What are
the drawbacks? Is there anything remarkable
2011 Feb 21
2
self.prepend_view_path - am I missing something
I have an app that varies its content based upon the domain from which
it is being accessed. Some of the domain characteristics are
supported in the model but it is easier varying static text in the
views and then sharing the form templates via partials etc.
Rails 2.3.10 and looking at the documentation at
2010 Sep 03
1
Action Controller Error: undefined local variable or method `current_user'
Newbie learning Rails. I''m currently on Chp9 here:
http://railstutorial.org/chapters/sign-in-sign-out#top
At the end of the tutorial, rails is erroring (see below). being new
to Rails and after having checked the tutorial... How do you resolve
this kind of error. It''s saying current_user is not defined, and it is
supposed to be defined with/Sites/sample_app/app/helpers/
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
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
2008 Mar 31
2
Rails and Partials
Excuse my ignorance on partials but.....
I am trying to use partials to create a uniform display box built with
html tables. The only way I have thought about accomplishing this is to
create two partials:
_start_box.erb
----------------
<table id="box" width="<%= width %>"><tr><th><%= h(label_text)
%></th></tr><tr><td>
2006 Jul 26
0
SAX Parsing and erb?
Hi,
I''m trying to parse a XML document and put some of that information
inside a rhtml file. I also have partials that I want to wrap around
content in the XML stream. However, I don''t have any clue how to pass
an object to the SAX2Listener so it can combine the partials and the XML
together. Normally, in java I would pass the HttpResponse object or the
PrintWriter
2011 Oct 10
2
nested attributes question
Hi,
I have a product that has many photos, so when creating a new product
the user can upload as many photos as they want. This all works fine
using nested attributes for. I want the user to be able to set one of
the photos as the default/primary photo, so i have played around with
using a radio button to decide which photo to select as the default
but i cant seem to figure out how to save this
2010 May 19
0
render html partial from atom builder
So I have an action that results in atom:
def index
...
respond_to do |format|
...
format.atom { render :layout => false}
end
end
Then I have a builder template to render the atom, called
index.atom.builder.
Inside this builder template, I''d like to render one of my existing html
partials, to put in the atom:content element, perfectly normal atom
thing to do.
2007 Jun 27
3
template.expect_render
Trunksters,
I just added a couple of methods to ActionView::Base in Spec::Rails
(as of r2136) that lets you do this in view examples:
describe ''/things/index.html.erb'' do
it "should render _thing with a collection of things" do
assigns[:things] = things = [Object.new]
template.expect_render(:partial => ''thing'', :collection => things)
2012 May 21
4
Rendering partial views with ajax calls in rails 3.1
I''m starting now with rails, and i have simply question i think.
I need to render two partials in one ajax call:
I have the following controller:
# GET /hosts/1
# GET /hosts/1.json
def show
@host = Host.find(params[:id])
respond_to do |format|
format.html #show.html
format.js
format.json { render :json => @host }
end
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.
2006 Jul 05
0
MasterView rails-optimized (x)html friendly template engine - Release 0.2.3
MasterView is a rails-optimized (x)html friendly template engine plugin that
provides another option to the existing rails view templates (rhtml and
rxml). The main idea is to provide a template engine that would provide all
the power of layouts, partials, and rails helpers but still be
editable/styleable in a WYSIWYG editor. It was also a major goal that the
syntax of these attribute directives
2007 Sep 29
1
templates with same name before extension are cached
Hi all,
I was just wondering if this is the intended behavior. Here is my setup:
controller
def index
respond_to do |f|
f.xml { render :xml => true }
f.html { render :layout => :none }
end
end
In my views I have a file for each type
index.herb
index.xerb
The first request I send is cached and interferes with the other one.
For example, if I send an xml request
2009 Feb 06
2
Using partials with form_for
hi all
i was wondering whether it is possible to use partials along with form_for
and form_field. following code is not working. is there some error or this
case is impossible..??
*#new.html.erb*
<h1>Enter Details for new Partner:</h1>
<% form_for(@partner) do |f| %>
<%= render :partial => ''form'', :locals => {:partner => f} %>
<p>