1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test
Kasper Timm Hansen a88c5ff96d Only write to collection cache if we have a callable cache key.
A callable cache key writes to the collection cache under a certain namespace.
Which means if we don't have scoped cache key we can just rely on the
`cache model_name do` in the templates to cache them.

Less writes, more sharing.

Add `assert_customer_cached` to better illustrate this in tests, and remove
tests which then don't communicate as much.
2016-02-12 22:37:11 +01:00
..
abstract Revert "ActionController::Base#process() now only takes an action name" 2015-10-29 16:18:27 -07:00
assertions Add both HTTP Response Code and Type to assertion messages 2016-01-12 13:09:00 -07:00
controller Only write to collection cache if we have a callable cache key. 2016-02-12 22:37:11 +01:00
dispatch Add options for rake routes task 2016-02-02 00:27:30 +05:30
fixtures Merge pull request #22800 from dgynn/pr_cache_helper_options 2016-01-29 00:15:19 -05:00
journey Remove TestRouter#add_routes 2015-09-29 13:43:11 +09:00
lib/controller
routing
tmp
abstract_unit.rb do not run in parallel on travis 2016-01-12 15:55:47 -08:00