mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Improve readability of CacheHelper section
[ci skip]
This commit is contained in:
parent
3c8b569e15
commit
34f5704b85
1 changed files with 1 additions and 1 deletions
|
@ -599,7 +599,7 @@ This would add something like "Process data files (0.34523)" to the log, which y
|
|||
|
||||
#### cache
|
||||
|
||||
A method for caching fragments of a view rather than an entire action or page. This technique is useful caching pieces like menus, lists of news topics, static HTML fragments, and so on. This method takes a block that contains the content you wish to cache. See `ActionController::Caching::Fragments` for more information.
|
||||
A method for caching fragments of a view rather than an entire action or page. This technique is useful for caching pieces like menus, lists of news topics, static HTML fragments, and so on. This method takes a block that contains the content you wish to cache. See `ActionController::Caching::Fragments` for more information.
|
||||
|
||||
```erb
|
||||
<% cache do %>
|
||||
|
|
Loading…
Reference in a new issue