Method to handle checking a whether a template has changed since last compile; isolated so that templates not stored on the file system can hook and extend appropriately.
Source Code
# File action_view/base.rb, line 553 def template_changed_since?(file_name, compile_time) lstat = File.lstat(file_name) compile_time < lstat.mtime || (lstat.symlink? && compile_time < File.stat(file_name).mtime) end
<code/>and<pre/>for code samples.