aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures/customers
Commit message (Collapse)AuthorAgeFilesLines
* Replace expectation with state check.Kasper Timm Hansen2015-05-302-0/+2
| | | | The tests would still pass if the cache call in the rendered templates were removed.
* Collections automatically cache and fetch partials.Kasper Timm Hansen2015-02-212-0/+7
| | | | | | | | | | | | | | | | | | | | | | | 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 %> ```
* Remove unused fixtures and models from AP testsŁukasz Strzałkowski2013-08-251-1/+0
|
* Ooops. Add fixture partials for last commitMarcel Molina2008-02-081-0/+1
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8823 5ecf4fe2-1ee6-0310-87b1-e25e094e27de