I changed that filename, still no luck. Now I use a virtual column with
link_to, and it works.

On Wed, May 5, 2010 at 11:25 PM, Sergio Cambra .:: entreCables S.L. ::. <
[email protected]> wrote:

> On Jueves, 6 de Mayo de 2010 10:41:04 rvhi escribió:
> > Hi,
> >
> > Try to use prawnto to generate a pdf file from a record. I added a new
> > action_link and a corresponding method 'pdf'. Also added a file app/
> > view/orders/pdf.erb.prawn. However it generated an error,
> >
> > ActionView::MissingTemplate (Missing template pdf.erb in view path app/
> > views/active_scaffold_overrides:vendor/plugins/active_scaffold/
> > frontends/default/views):
> >
> > Any suggestion?
>
> I think extension is wrong, probably should be pdf.pdf.prawn. Template
> names
> usually are action.format.engine, in your case action and format are pdf
> and
> engine is prawn
>
> --
> Sergio Cambra .:: entreCables S.L. ::.
> Mariana Pineda 23, 50.018 Zaragoza
> T) 902 021 404 F) 976 52 98 07 E) [email protected]
>
> --
> You received this message because you are subscribed to the Google Groups
> "ActiveScaffold : Ruby on Rails plugin" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<activescaffold%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/activescaffold?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to