Action View Log Subscriber
Provides functionality so that Rails can output logs from Action View.
Methods
Instance Public methods
TODO: Ideally, ActionView should have its own logger so it does not depend on AC.logger
Alias for render_template
Alias for render_template
This method is also aliased as
render_partial
render_collection
# File actionpack/lib/action_view/log_subscriber.rb, line 6 6: def render_template(event) 7: message = " Rendered #{from_rails_root(event.payload[:identifier])}" 8: message << " within #{from_rails_root(event.payload[:layout])}" if event.payload[:layout] 9: message << (" (%.1fms)" % event.duration) 10: info(message) 11: end
Instance Protected methods