> Any ideas?
No, we don't have any ideas, because you just pasted a bunch of Rails
code on us without giving us something we can run. Try your code
outside of Rails, include any images you use, and give us something we
can run without access to your environment.
And then we can give you some ideas.
Please show us code that you think should do something that it doesn't.
That's the only way we can help you without shooting in the dark.
-greg
We don't have this on our machines
> pdf.text @item.title
We don't have this on our machines
> pdf.table details, :border_style => :grid,
> :row_colors => ["FFFFFF", "DDDDDD"],
> :align => { 0 => :left, 1 => :left }
>
> for image in @item.images <----- Seems that
> going through the loop of images I have seems
We don't have this on our machines
CODE, THAT RUNS STANDALONE, OUTSIDE OF RAILS. THATS WHAT WE NEED.
CODE, THAT RUNS STANDALONE, OUTSIDE OF RAILS. THATS WHAT WE NEED.
> CODE, THAT RUNS STANDALONE, OUTSIDE OF RAILS. THATS WHAT WE NEED.
>
>
> DONT NEED TO SHOUT
I asked you several times to give us what we need so that we could help
you, and you seemed to have completely ignored me.
I was hoping giant caps would catch your attention, and they seem to
have done so, but until you post code, we can't help you. So please
make sure that your next post to this list contains something we can
work with.
-geg
There is no such thing, unfortunately. The main reason is that Prawnto
has been abandoned by its original author. We have a supported process
for using Prawn in Rail, and it is documented here:
http://wiki.github.com/sandal/prawn/using-prawn-in-rails
But in order to answer questions about Prawn behavior, whether you are
using Prawnto or not, you still would need to give us code that runs
outside of Rails.
Keep in mind when you show us code that is not directly runnable, and
has not been stripped down to a minimal example, you're literally asking
us to spend time figuring out your code and helping you debug what might
be a user error. We do offer consulting hours, but this is not the
place to do it. :)
Instead, take 5 minutes to reproduce your issue in pure Ruby, and we can
help you then. When you show consideration for the time of the
volunteers on this list by cleaning up and preparing your questions and
test code, you will definitely see that returned to you in volumes.
Otherwise, you might see ALL CAPS GTFO messages ;)
-greg
Reproducing on edge. Please file an issue at:
http://github.com/sandal/prawn/issues and include this example.
No need to address me directly on this list. It's not my inbox and we
have plenty of core devs and contributors who are more active than I am :)
> Any progress on this bug?
See this post:
http://groups.google.com/group/prawn-ruby/msg/0a2923726a810d9a
I just gave Jonathan the thumbs up on merging his fix, though it may be
a temporary stop-gap.