method

compile_template?

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActionView::Base

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.0.3) is shown here.

compile_template?(template, file_name, local_assigns) private

Method to check whether template compilation is necessary. The template will be compiled if the inline template or file has not been compiled yet, if local_assigns has a new key, which isn’t supported by the compiled code yet, or if the file has changed on disk and checking file mods hasn’t been disabled.

Show source
Register or log in to add new notes.