On Tue, Mar 8, 2011 at 12:37 PM, Matt Jones
<al2o3cr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
>
> On Mar 7, 11:53 am, Paul Bergstrom
<li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:
> > Can I have one mailer for all? Would that be called
> > application_mailer.rb
> >
>
> Mailer names are pretty much arbitrary - even the _mailer extension is
> just a convention. The biggest downside to "put everything in one
> mailer" is the same one any "kitchen sink" file develops,
namely a
> lack of structure. But there''s no *technical* impediment to doing
> so...
>
Yeah, I even went further and just parameteized one mailer method so that I
could just pass in whatever text I wanted it to send to who I wanted to send
it so.... not pretty but for internal stuff does the job.
>
> --Matt Jones
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.