Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Digestor explicit dependency should not contain trailing whitespace | Brian Alexander | 2012-12-21 | 1 | -1/+1 |
| | | | | test for rails/rails#8586 | ||||
* | Replace some global Hash usages with the new thread safe cache. | thedarkone | 2012-12-14 | 1 | -16/+5 |
| | | | | | | | | | | | | | | | | Summary of the changes: * Add thread_safe gem. * Use thread safe cache for digestor caching. * Replace manual synchronization with ThreadSafe::Cache in Relation::Delegation. * Replace @attribute_method_matchers_cache Hash with ThreadSafe::Cache. * Use TS::Cache to avoid the synchronisation overhead on listener retrieval. * Replace synchronisation with TS::Cache usage. * Use a preallocated array for performance/memory reasons. * Update the controllers cache to the new AS::Dependencies::ClassCache API. The original @controllers cache no longer makes much sense after @tenderlove's changes in 7b6bfe84f3 and f345e2380c. * Use TS::Cache in the connection pool to avoid locking overhead. * Use TS::Cache in ConnectionHandler. | ||||
* | fix Digestor to be thread safe. | Aaron Patterson | 2012-10-17 | 1 | -8/+30 |
| | | | | | Add a lock on the cache so that we don't have concurrency issues when calculating the cache. | ||||
* | Allow for deep directory path for view templates. | Andy Shipman | 2012-10-11 | 1 | -1/+1 |
| | |||||
* | Define just the cattr_reader. | Rafael Mendonça França | 2012-09-05 | 1 | -1/+2 |
| | | | | | This will trim down the API and avoid some error that can be made changing the cache object. | ||||
* | Use the same logger that ActionView::Base for the Digestor | Rafael Mendonça França | 2012-09-05 | 1 | -2/+5 |
| | |||||
* | Remove unneeded requires | Rafael Mendonça França | 2012-09-05 | 1 | -7/+3 |
| | | | | | We should not require all the core extensions inside the frameworks. The logger is already defined in the Action View framework. | ||||
* | We dont need to include the name and the format in the digest -- source is ↵ | David Heinemeier Hansson | 2012-09-04 | 1 | -1/+1 |
| | | | | authoritative enough | ||||
* | Further improve RENDER_DEPENDENCY regexp comments | Christos Zisopoulos | 2012-08-30 | 1 | -1/+1 |
| | |||||
* | Improve RENDER_DEPENDENCY regexp comment to keep the doc editor happy. | Christos Zisopoulos | 2012-08-30 | 1 | -1/+1 |
| | |||||
* | `Digestor` can now parse old style hash syntax for `render` | Christos Zisopoulos | 2012-08-30 | 1 | -4/+4 |
| | |||||
* | `Digestor` ignores most whitespace when parsing `render` invocations | Christos Zisopoulos | 2012-08-30 | 1 | -2/+2 |
| | |||||
* | Add automatic template digests to all CacheHelper#cache calls (originally ↵ | David Heinemeier Hansson | 2012-08-29 | 1 | -0/+104 |
spiked in the cache_digests plugin) *DHH* |