There's no structural opposition to this. I just think nobody has needed to send enough emails that template rendering was the bottleneck. Feel free to investigate and post a pull request if you get this working.
On Monday, December 28, 2015 at 12:13:12 AM UTC+1, Stan Lo wrote: > > Hi, I notice that we can't use fragment cache in ActionMailer's email > template. I am curious about the reason that Rails doesn't implement this > feature. > Is it because nobody needs this feature (actually I quite need it)? Or is > because the cache implementation is coupled too deep with ActionController > and > it's hard to move it to AbstractController whichActionMailer uses? > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/d/optout.
