On Aug 4, 11:47 pm, mateo wrote:
> After digging through the rails code to figure out why my asset_host
> wasn't getting applied to emails, I realized that it's because the
> config object in the context of a mailer is config.action_mailer and
> not config.action_controller. This means you need
On Thu, Aug 5, 2010 at 3:18 PM, byrnejb wrote:
> 1. If config.action_controller.whatever is not nil
> 2. and config.action_mailer.whatever is nil
> 3. then config.action_mailer.whatever should use
> config.action_controller.whatever as a default
>
> This approach could be extended to all of th
On Thu, Aug 5, 2010 at 6:18 AM, byrnejb wrote:
>
>
> On Aug 4, 11:47 pm, mateo wrote:
>> After digging through the rails code to figure out why my asset_host
>> wasn't getting applied to emails, I realized that it's because the
>> config object in the context of a mailer is config.action_mailer a
On 5-Aug-10, at 10:09 AM, Jeremy Evans wrote:
I think that, if I have followed the discussions aright, the idea is
that action_mailer (and perhaps action_resource and active_record)
are
being decoupled from action_controller as much as possible. That
said, it seems to me a sensible comprom