Displaying 20 results from an estimated 70000 matches similar to: "How to watch .*pdf files in browser?"
2012 Dec 16
2
How to get access to /admin panel without Devise?
I have question:
How to get access to /admin panel without Devise?
And how to create admin user?
--
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
2011 Nov 19
1
Explain noob how deploy with 'capistrano' through :git
I have vpn server (ubuntu10 + .rvm + ror + nginx + passenger +
unicorn).
Questions:
1. How to deploy in first time with capistrano through git, if I don''t
have project on the server (just empty project folder)?
2. Should I have project on my local machine to deploy on the server
machine thought git?
And if you have working config/deploy.rb.
Please, post it here.
Thanks for help.
--
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
2012 Aug 09
3
Pop quiz: Where do you watch for job postings?
Hi all, I''m looking for some advice on where we should be putting an
advert if we are looking to hire a full time rails developer? Or turning
it around what websites (or mailing lists) do folks here use to if they
feel the need for a change in view from their desk?
A few details to narrow down scope since it might affect the advice,
apologies in advance, trying to NOT make this an
2010 Mar 26
4
How to calculate per_page value based on browser window size for will_paginate
def self.per_page
20
end
Any suggestion on how I can calculate this value base on the size of
the browser window?
Thanks
--
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
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
2013 Mar 24
6
forgery protection for multiple browser tabs
Hi,
http://apidock.com/rails/ActionController/RequestForgeryProtection only
maintains one CSRF token at a time. When a user visits some site, he gets a
new token in the session. He then might open a linked site of the same
rails app in a new browser tab (maybe some info he''d like to read), and
again he will get a new token. Then he changes to the first tab again and
submits a form
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
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
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/.
--
2011 Aug 07
3
New field does now show in browser
Hi all
I just added a new field phone to form _form.html.erb created with:
rails generate migration AddPhoneTotickets phone:string
added with rake migraiton
and the new field does not show in the browser
new
<div class="field">
<%= f.label :phone %><br />
<%= f.text_field :phone %>
</div>
old
<p>
<%= f.label :phone
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.
2011 Jul 19
2
ActiveRecord::Base.establish_connection in development and production envs
Hi, guys!
Background:
I''ve resque workers in my application. These workers do several jobs
that associated with DB. In development environment, I''ve no need to
provide some additional configuration for db, they are use development
database. But then I switching to production env, I set
ActiveRecord::Base.establish_connection with my production DB
parameters.
Problem:
When
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 Jul 02
1
How to user PDF::Toolkit.pdftk ?
Hi,
I tried to fill a PDF fill template with an xdp file by using
PDF::Toolkit.pdftk("C:/pdf/fic2028.xdp", "fill_form",
"C:/pdf/fic2028.pdf")
But I got the following error
Errno::ENOENT (No such file or directory - "pdftk" "C:/pdf/fic2028.xdp"
"fill_form" "C:/pdf/fic2028.pdf" "-" "dont_ask")
I
2010 Jan 04
3
Generate PDF
Hi !
I need to create some pdf from my application. I have a table people
with a field address and I need to generate a pdf of label of each
address ( I think 10 labels per page). The pdf can have around 500
pages.
Which library should I use to do it ? I read some information about
different library to generate pdf but I don''t know if all library are
a good choice for generate
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
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 Dec 24
2
Showing graphs on browser with gruff lib.
Hi,
I am using "gruff" lib for creating the graphs.
I have got the success to create the graph, but my problem is I don''t
want to store it, I want that they should be displyed on the browser it
self.
I have tried this:-
"
send_data(g.to_blob, :disposition => ''inline'', :type => ''image/png'',
:filename =>
2012 Oct 29
1
SQLITE Database Browser question
Is there a way to add another field to a blog(i.e. another text field)
using database browser. I was able to make the changes using the Sqlite
Database Browser and saved but the changes didn''t migrate over to my app.
--
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