instance method
component_logging
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.2.3 PrivateSignature
component_logging(options)
No documentation comment.
Parameters
-
optionsreq
Source
# File actionpack/lib/action_controller/components.rb, line 149
def component_logging(options)
if logger
logger.info "Start rendering component (#{options.inspect}): "
result = yield
logger.info "\n\nEnd of component rendering"
result
else
yield
end
end
Defined in actionpack/lib/action_controller/components.rb line 149
· View on GitHub
· Improve this page
· Find usages on GitHub