method

compile_template?

Importance_1
v1.1.6 - Show latest stable - 0 notes - Class: ActionView::Base
compile_template?(template, file_name, local_assigns) private

Check whether compilation is necessary. Compile if the inline template or file has not been compiled yet. Or 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.