Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Collections automatically cache and fetch partials. | Kasper Timm Hansen | 2015-02-21 | 1 | -0/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | Collections can take advantage of `multi_read` if they render one template and their partials begin with a cache call. The cache call must correspond to either what the collections elements are rendered as, or match the inferred name of the partial. So with a notifications/_notification.html.erb template like: ```ruby <% cache notification %> <%# ... %> <% end %> ``` A collection would be able to use `multi_read` if rendered like: ```ruby <%= render @notifications %> <%= render partial: 'notifications/notification', collection: @notifications, as: :notification %> ``` | ||||
* | Some valid block calls in templates caused syntax errors | Akira Matsuda | 2014-11-20 | 1 | -1/+1 |
| | | | | Now ActionView accepts <%= foo(){ %> and <%= foo()do %> :golf: | ||||
* | handle <%== nil %> cases | Aaron Patterson | 2014-09-14 | 1 | -2/+2 |
| | | | | | This is much less common than string literal appends, so add a special case method for it. Maybe fixes bug reported by @jeremy on 97ef636191933f1d4abc92fc10871e6d1195285c | ||||
* | optimize string literals in erb templates | Aaron Patterson | 2013-12-03 | 1 | -2/+2 |
| | |||||
* | Remove require to AP stuff that left | Łukasz Strzałkowski | 2013-06-20 | 1 | -1/+0 |
| | |||||
* | Move actionpack/lib/action_view* into actionview/lib | Piotr Sarnacki | 2013-06-20 | 1 | -0/+146 |