Displaying 20 results from an estimated 600 matches similar to: ".html/.html.erb/.rhtml to PDF"
2009 Jun 05
6
rails 2.3.2
Hi all,
I am using rails v.2.3.2 and if I put following line to my
ApplicationController:
include LoginSystem
and I moved my login_system.rb to lib folder:
module LoginSystem
protected
def is_logged_in?
@logged_in_user = User.find(session[:user]) if session[:user]
end
def logged_in_user
return @logged_in_user if is_logged_in?
end
def logged_in_user=(user)
if
2009 Jun 08
3
Will Pagination links getting not behaving as i wanted.
Hello All,
I have will pagination links in index view which works fine.
but when i performing some other action and replacing list view
that time pagination links i am supposed to be for index action.
but they are not......links goes to last performed action.
You have any idea how to fix this problem ?
NOTE:
i am updating list after creation of resource record that time pagination
links goes
2009 Sep 29
10
rails 2.3.3 upgrade shows error
You have a nil object when you didn''t expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.<<
any ideas ?
Application works fine with rails 2.1.0
Sandip
--
Ruby on Rails Developer
http://funonrails.wordpress.com
www.joshsoftware.com
http://brandpotion.com (Latest project released)
--~--~---------~--~----~------------~-------~--~----~
2009 Jun 04
4
ActionController::InvalidAuthenticityToken & :before
I have a form that submits search criteria and while it is processing I
wanted to use a js function to indicate:
<% form_remote_tag :update => ''mainbody'', :url => {:action => ''search''},
:before => "wait_message(''mainbody'',''S E A R C H I N G'')" do%>
wait_message() executes but then when
2009 Jun 05
15
Rails Code Indentation
Hi All,
Rails code must be readable, formatted and well indented.
I wanted to do indent code in my previous projects.
Is there any built in rails plugin/gem that can help me to
indent my existing code.
Any ideas will be really appreciated !
NOTE: Please don''t suggest editor plugins.
Thanks & Regards,
Sandip R~
--
Ruby on Rails Developer
http://sandip.sosblog.com
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
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
2011 Mar 18
3
webapplications with rails+geokit
Hi all
Anybody knows any webapplictions presently using geokit plugin with
rails 2.x or 3.x ? If yes pls send me the url pls.
--
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
2009 Dec 28
3
Mysql::Error: Lock wait timeout exceeded; try restarting transaction
Hello all
I am using acts_as_ferret in user model.
Error Message:
--------------
ActiveRecord::StatementInvalid: Mysql::Error: Lock wait timeout exceeded;
try restarting transaction: UPDATE `users` SET `updated_at` = ''2009-12-28
14:31:50'', `active_till` = ''2009-12-28 14:31:50'' WHERE `id` = 21
Where:
------
calls#audit
2012 Feb 01
12
date validation in rails 3
consider scenario,
User model with name, birth_date fields (here birth_date is not mandatory
field)
inside view form birth_date is assigned as ''31/31/1985'' which is invalid
ideally user object should be invalid and while save raise an error on
birth_date field but that''s not happening and user object gets saved with
birth_date as blank which is completely misleading.
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
2010 Aug 22
5
Help me... how to convert amchart to pdf
Hi
Guys
I need help.. I want to making 1 controller for covert html to pdf.. But
that html have amchart (swf). When I tried convert, the swf not loadded...
Any body can help me Please????
--
Senior Rails Developer
Anton Effendi - Wu You Duan
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send
2010 Feb 02
3
Generating a PDF using popen and wkhtmltopdf
As described on wkhtmltopdf Google group
(http://code.google.com/p/wkhtmltopdf/issues/detail?id=162), I have a
problem generating a PDF while using popen and wkhtmltopdf.
wkhtmltopdf takes HTML code as input and ouputs a PDF file. Here is what
I''m doing:
command = ''"C:\Program Files\wkhtmltopdf\wkhtmltopdf.exe" - - -q''
IO.popen(command,
2009 Sep 09
4
Tagging recommendation - acts_as_taggable_on_steroids best?
hey all
What''s the most popular tagging plugin/gem these days? Is it
acts_as_taggable_on_steroids? Or is something else better?
I''d like to basically replicate flickr''s tagging as much as possible, eg
allowing multi-word tags to be denoted by quotes or seperated by commas.
thanks
max
--
Posted via http://www.ruby-forum.com/.
2009 Jul 28
1
[PAPERCLIP] How to avoid image crop in paperclip styles
Hello All,
I am using rails paperclip plugin for image upload.
my image has different styles and the original image gets cropped
while processing styled image.
I dont want image to be cropped.
Is there any way ????????
Thanks,
Sandip R~
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
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/.
--
2010 May 13
20
HTML and CSS to PDF
I would like to take a rails page and convert it to a pdf. I don''t want
to have to generate the code myself for making the pdf, so it should
obey css. What is the best tool for doing this? Does the tool use the
standard css, or can I provide it alternative print-css?
Thanks in advance,
Jonathan Steel
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you
2009 Jun 03
0
TINY MCE Jrails media upload
Hi
Can anybody give me idea to do media upload in rails using tiny_mce and
jrails ?
Thanks !
--
Ruby on Rails Developer
http://sandip.sosblog.com
http://funonrails.wordpress.com
www.joshsoftware.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send
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''
2009 Sep 15
2
precision multi-page printing
I am at a point where I will need to print checks in an application.
I guess the best way to describe this is that I am using pre-printed
checks and that I want to hit the prescribed areas with my text output.
Should I be doing something like PDF output like pdf-writer or other or
can I possibly do this with html and css?
My output will be check runs of many checks with 1 page per check.
Any