instance method
render_partial
Ruby on Rails 7.1.6
Since v3.0.20 Last seen in v8.0.4Signature
render_partial(event)
No documentation comment.
Parameters
-
eventreq
Source
# File actionview/lib/action_view/log_subscriber.rb, line 26
def render_partial(event)
debug do
message = +" Rendered #{from_rails_root(event.payload[:identifier])}"
message << " within #{from_rails_root(event.payload[:layout])}" if event.payload[:layout]
message << " (Duration: #{event.duration.round(1)}ms | Allocations: #{event.allocations})"
message << " #{cache_message(event.payload)}" unless event.payload[:cache_hit].nil?
message
end
end
Defined in actionview/lib/action_view/log_subscriber.rb line 26
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::LogSubscriber