diff options
author | John Hawthorn <john@hawthorn.email> | 2019-04-04 12:42:57 -0700 |
---|---|---|
committer | John Hawthorn <john@hawthorn.email> | 2019-04-04 14:25:31 -0700 |
commit | b8c90c36444b9c239935b470cb04adddf09e2c60 (patch) | |
tree | 924343ab24d0f8793666544012179ef31dc7c2b6 /actionmailer | |
parent | a8aca0235092c33527aedea6ce8bf82766f8cec1 (diff) | |
download | rails-b8c90c36444b9c239935b470cb04adddf09e2c60.tar.gz rails-b8c90c36444b9c239935b470cb04adddf09e2c60.tar.bz2 rails-b8c90c36444b9c239935b470cb04adddf09e2c60.zip |
Don't discard source after rendering
Previously, we would discard the template source after rendering, if we
had a virtual path, in hopes that the virtual path would let us find our
same template again going through the Resolver.
Previously we discarded the source as an optimization, to avoid keeping
it around in memory. By instead just reading the file every time source
is called, as FileTemplate does, this is unnecessary.
Diffstat (limited to 'actionmailer')
0 files changed, 0 insertions, 0 deletions