method

write_fragment

rails latest stable - Class: AbstractController::Caching::Fragments
write_fragment(key, content, options = nil)
public

Writes content to the location signified by key (see expire_fragment for acceptable formats).