how to pass parameter to pdf(wicked_pdf)

238 views
Skip to first unread message

Fahim Patel

unread,
Apr 22, 2013, 3:58:48 PM4/22/13
to rubyonra...@googlegroups.com
I am following below link.

Thanks in advance.

Colin Law

unread,
Apr 22, 2013, 4:13:18 PM4/22/13
to rubyonra...@googlegroups.com
On 22 April 2013 20:58, Fahim Patel <paf...@gmail.com> wrote:
> I am following below link.
> https://github.com/mileszs/wicked_pdf

What sort of parameters? Please give a (simple) example of what you
are trying to achieve. We are not telepathic (at least I am not).

Colin

>
> Thanks in advance.
>
> --
> 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 rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/rubyonrails-talk/-/YBO7rqJgD2UJ.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Fahim Patel

unread,
Apr 22, 2013, 4:27:25 PM4/22/13
to rubyonra...@googlegroups.com
when user select cars then click next then on next page he/she select color for car's . On this i have given one link which 
will open pdf.
What i reqire is how to pass count of cars on PDF ?
Hope you understood.
i am following above link

Colin Law

unread,
Apr 22, 2013, 4:36:18 PM4/22/13
to rubyonra...@googlegroups.com
On 22 April 2013 21:27, Fahim Patel <paf...@gmail.com> wrote:

Please remember to quote the previous reply so that we know what you
are replying to. Also please don't top post, insert your reply at
appropriate points in previous message. Thanks

> when user select cars then click next then on next page he/she select color
> for car's . On this i have given one link which
> will open pdf.
> What i reqire is how to pass count of cars on PDF ?

To use wicked_pdf you build an html view as normal and wicked_pdf will
convert it to pdf. So to include the count of cars you simply include
it in the html.

Colin
Reply all
Reply to author
Forward
0 new messages