search for: partial_layout

Displaying 1 result from an estimated 1 matches for "partial_layout".

2009 Oct 28
2
render :file cached?
In my application I have a controller/view that displays the contents of an audit log file def audit_log render :layout => ''table'', :file => AUDIT_LOG end The audit log is updated frequently but the render call does not re- read the file so it gets stale. Is there a way to tell render to check the file timestamp and reload as needed?