method
_save_fragment
v3.2.8 -
Show latest stable
- Class:
ActionController::Caching::Actions
_save_fragment(name, options)public
No documentation available.
# File actionpack/lib/action_controller/caching/actions.rb, line 104
def _save_fragment(name, options)
content = ""
response_body.each do |parts|
content << parts
end
if caching_allowed?
write_fragment(name, content, options)
else
content
end
end