Description
Compiles templates directly into Ruby code for faster rendering. It is useful for applications that need native-speed templates and are willing to manage the compilation step explicitly.
Template compilation executes generated code. Compile only trusted templates, review escaping behavior, and test generated output before using it with user-facing HTML.