PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.ruby > ActionMailer,Templates (erb) and aweson_mail without Rails
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
ActionMailer,Templates (erb) and aweson_mail without Rails

Réponse
 
LinkBack Outils de la discussion
Vieux 22/08/2008, 19h03   #1
Pablo Q.
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut ActionMailer,Templates (erb) and aweson_mail without Rails

[Note: parts of this message were removed to make it a legal post.]

Hi Rubiceros,

I have built an mail delivery system using Action Mailer, it works without
rails. I would like to use erb template with it but I'm having problem
defining view path for it. I got this:

*Unprocessed view path found: nil. Set your view paths with
#append_view_path, #prepend_view_path, or #view_paths=.

c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/template_finder.rb:173:in
`check_view_paths'*

Also, I would like to add aweson_mail to it, but I didn't get response from
imedo devellopers about a version without rails.

So, I have two question:

1. Does anyone know how define the view path in order to use erb templates
without rails?
2. Anyone know somebody from Imedo in order to get info. about aweson_mail?

Thanks

--
Pablo Q.

  Réponse avec citation
Vieux 22/08/2008, 19h43   #2
Pablo Q.
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ActionMailer,Templates (erb) and aweson_mail without Rails

[Note: parts of this message were removed to make it a legal post.]

I found how to do that:

ActionMailer::Base.template_root= 'templates_path'

It must exist a "mailer" folder in "templates" path.

Still having problem with aweson_mail...


2008/8/22 Pablo Q. <paqs140482@gmail.com>

> Hi Rubiceros,
>
> I have built an mail delivery system using Action Mailer, it works without
> rails. I would like to use erb template with it but I'm having problem
> defining view path for it. I got this:
>
> *Unprocessed view path found: nil. Set your view paths with
> #append_view_path, #prepend_view_path, or #view_paths=.
>
>
> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/template_finder.rb:173:in
> `check_view_paths'*
>
> Also, I would like to add aweson_mail to it, but I didn't get response from
> imedo devellopers about a version without rails.
>
> So, I have two question:
>
> 1. Does anyone know how define the view path in order to use erb templates
> without rails?
> 2. Anyone know somebody from Imedo in order to get info. about aweson_mail?
>
> Thanks
>
> --
> Pablo Q.
>




--
Pablo Q.

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 15h14.


Édité par : vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,35059 seconds with 10 queries