module RailsWatcher::Patches::ActionViewRender

Public Instance Methods

render(options = {}) click to toggle source
Calls superclass method
# File lib/rails_watcher/patches.rb, line 57
def render options = {}, locals = {}, &block
  call_stack = RailsWatcher::CallStack.get_instance
  if call_stack
    ret = nil
    method_tag = "render_partial (#{options.to_s[0, 70]})"
    call_stack.log_method_call method_tag do
      ret = super
    end
    ret
  else
    super
  end
end