Displaying 20 results from an estimated 10000 matches similar to: "Mongrel 3.15, Ubuntu and Park place (S3)"
2006 May 05
8
pdf/writer: table.render_on best practices?
Hi All,
I generate a pdf report that contains a table. The report is 14 pages, and
it takes 20s to be rendered. Most of these 20s are spend in the render_on
method. I wonder if it is possible to speed up that process?
To create the report, I do the following:
1) Setup pdf layout:
# Setup pdf layout
pdf.select_font("Helvetica", { :encoding => "WinAnsiEncoding"})
2006 Jun 01
8
[Pdf::Witer]
Is anyone using Pdf::Writer?
I don know how to insert html tags in a pdf using Pdf::Writer, except <b>
and <i>
I think an idea is with Pdf::TechBook but i hadn''t seen any example till
now.
--
Cheers,
ioana k&a
http://boulangerie.wordpress.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jun 20
7
What is up with rubyforge?
Does anybody know when it will be back up?
<http://rubyforge.org/>
--
Posted via http://www.ruby-forum.com/.
2006 Apr 24
12
Design Decisions
Hi All,
I am doing some research on how people start with their Rails app.
What design decisions are made and how is it build.
For example:
- do you use scaffolding and go from there? Or do you create everything
from scratch?
- are you using multiple controllers? Or do you put everything in one?
- do you use migrate?
- how do you use migrate? Do you call migrate your self or do you use
the
2005 Dec 15
5
Avery Lables, PDF::Writer or LaTex?
In a new app we are developing, we need to be able to dynamically create
a PDF and send it to the browser (inline with send_data). I have been
tinkering with PDF::Writer and love the simplicity and native ruby-ness
of it all.
However, one of the main uses for this functionality is to output a PDF
of addresses to be printed on Avery 5161 labels. LaTex seems to be
suited well for this, but it
2006 Jun 12
2
Pdf::Witer question
Does anyone knows how to embed Type1 font with PDF::Writer? I read
manual, tried everything but nothing seems to work (The font ''FontName''
contains a bad /BBox error on PDF).
any help or hint would be really appreciated,
Bojan Mihelac
--
Bojan Mihelac
Informatika Mihelac, Bojan Mihelac s.p. | www.informatikamihelac.com
-> tools, scripts, tricks from our code lab:
2006 Apr 10
4
Best way to propogate model rules to controller?
Hey everybody,
I''ve got a model that represents kind of a turn-based games. Certain
actions can only be made unders certain conditions. For simplicity,
we''ll say that the only condition for a particular action is that the
weekday be Tuesday.
def add_vote
raise ''You cannot vote today'' unless Date.today.wday == 2
...
end
In my controller I want to show a
2006 Jan 03
2
Pdf::Writer ; page numbering, and table wrapping
Hey there,
I know this isn''t a pdf::writer list - If there''s a more appropriate
place for me to ask these questions I''d appreciate being set straight.
I''m having a couple of misunderstandings/isssues first with page numbers
and secondly with auto-wrapping of simple_table.
First
pdf.start_page_numbering(pdf.margin_x_middle,
pdf.absolute_bottom_margin, 9,
2006 Aug 16
1
pdf::writer
I am trying to use an OCRB font in pdf::writer. So, I managed to install
the font on a debian linux. The first line in OCR font is appearing on
the pdf, but I get an error-message: "The font ''OCRBLT'' contains a bad
/BBox".
Someone ever had this problem?
--
Posted via http://www.ruby-forum.com/.
2006 Jun 19
1
pdf simpletable help needed
i am trying to generate a pdf of all of the users in an application that
i have built. i am still pretty new to ruby and rails so i don''t know
the best way to go about it.
here is my controller code:
require ''pdf/writer''
require ''pdf/simpletable''
class ReportsController < ApplicationController
def test
_pdf = PDF::Writer.new
table =
2006 Jun 24
32
Why is there no Smalltalk-like IDE for Ruby?
I posted this to comp.lang.ruby and comp.lang.smalltalk, and my blog.
I will likely get destroyed, but it will be worth it if at least one
nugget of information helps the Ruby IDE makers.
-----------------------------------------
Hi all --
I shout my question to the entire Ruby + Smalltalk community: Smalltalk
has had amazing IDEs for decades, why not Ruby? Smalltalkers, Ruby
needs your help!
2005 Dec 15
3
Pdf::Writer and "Replacement Tags"
Having read over the ruby pdf generation (simple reporting) options, I
think Pdf::Writer will do just fine...
..if the following is possible
On page 13 of (the really expansive) ::Writer manual, Replacement Tags
are detailed.
Before I jump into this tomorrow, I''m hoping for some triage sage
advice.
Finally, the question : "Would utilizing Replacement Tags be a suitable
2006 Feb 10
7
convert rails object to javascript variables
Am i a total idiot to try and parse out a rails object for javascript
in this way?
<%
for i in interface_items[0].attributes
%>
var <%= i[0] %> = "<%=h( i[1] )%>"
<%
end
%>
Am I missing something really obvious?
Thanks,
Mark
--
--------------------------------------------------------------------
I am Mark Daggett and I approve this message.
2007 Feb 27
2
Creating a PDF on the fly
A friend and I are just in the process of trying to create PDFs on the
fly. This isn''t in itself too hard, but we have some repeating images
that are being put in over and over again. It''s increasing file size
too much unfortunately.
Does anyone know the best way to ensure file size is kept to a minimum
for this scenario? We know about linking to a URI, but the problem with
2006 Apr 08
76
MIT vs GPL vs LGPL for open source project
I intend to release a project I wrote with Rails.
What is the right licensing scheme for a web application (content
managing system) which could grow with plugins and add-ons ?
Personally, I would prefer the GPL but does that mean any add-on to the
CMS (like task management) will have to be GPL ?
If some people contribute to the code could it still be double-licenced
so that the people who
2006 Jun 09
7
Active DIrectory
I am building a application for my university and I would like to make this
application authenticate agains a Active Directory server. I would like to
know if there is an already built solution for this somewhere online ?
Thanks
--
Nicolas Kassis
--------------------
http://www.nickassis.net
http://www.nickassis.net/blog
-------------- next part --------------
An HTML attachment was scrubbed...
2006 Feb 21
3
AJAX sub-list
In the new / edit screen for an "item" I''d like to be able to add/remove
"sub-items"
on pressing an add button below the "sub-items" a bit of a form shows up
with the html looking something like:
<div id="uniqueid">
<!-- label etc here -->
<input type="text" id="sub_items[]" name="sub_items[]"
2006 May 16
18
Ruby''s purpose?
Before I get flamed, I just want to start off by saying that I am new to
Ruby and I really enjoy this language and want to see it succeed.
But, what niche does this language fill?
These are serious question, not a put down of the language.
Does it has something to offer for Web 2.0?
Is it just another scripting language?
Does it suppose to replace something else?
Does it suppose to work with
2006 Mar 16
23
AJAX on Mobile Internet Explorer
Hi!
I try to get AJAX running on a mobile Windows Mobile 5.0 based device
and failed. There should be a JavaScript support but nothing happens.
Have any of you experience with the rails javascripts on a this platform
or are there any hints, documentation on the net?
tia,
--
Daniel V?lkerts
Protected by Anti Pesto.
2007 Aug 25
2
Color gem
I''m using the ruby gem "Color" and I''m having some troubles with to_hex.
I''ve installed the gem, and when I try and run the test program I get
this error:
>> red = Color.new(''ff0000'')
=> #<Color:0x3685990 @saturation=1.0, @hue=0.0, @lightness=0.5>
>> yellow = Color.new(''ffff00'')
=>