Sha256: fb605ea164b6affbe26d84f000181e4f54f6c7ddac7d4d7be9ae3de1c35a89f8
Contents?: true
Size: 724 Bytes
Versions: 40
Compression:
Stored size: 724 Bytes
Contents
# GitHub/RailsRenderLiteral tldr; `render` MUST be passed a string literal template path. * When used in conjunction with `GitHub/RailsViewRenderPathsExist`, linters can ensure the target file exists on disk and would not crash rendering a missing template. * Makes it easier for humans to trace callers of a template. Simply search for the full path of the target template to find **all** call sites. * This same call site tracing enables automated unused template checking. If no callers are found, the template can be safely removed. * Enables render precompilation and inlining optimizations. Target templates can be compiled and inlined on boot time rather than deferring to first render to lazily compile templates.
Version data entries
40 entries across 40 versions & 3 rubygems