- 20 3月, 2018 1 次提交
-
-
由 Javan Makhmali 提交于
-
- 13 12月, 2017 1 次提交
-
-
由 Dmitri Dolguikh 提交于
and defaults to `Digest::MD5`. Replaced calls to `::Digest::MD5.hexdigest` with calls to `ActiveSupport::Digest.hexdigest`.
-
- 21 10月, 2017 1 次提交
-
-
由 Akira Matsuda 提交于
This basically reverts c4d1a4ef
-
- 24 7月, 2017 1 次提交
-
-
由 Kir Shatrov 提交于
-
- 02 7月, 2017 1 次提交
-
-
由 Matthew Draper 提交于
This reverts commit 3420a145, reversing changes made to afb66a5a.
-
- 01 7月, 2017 2 次提交
-
-
由 Akira Matsuda 提交于
-
由 Kir Shatrov 提交于
-
- 12 4月, 2017 1 次提交
-
-
由 yuuji.yaginuma 提交于
-
- 23 3月, 2017 1 次提交
-
-
由 David Heinemeier Hansson 提交于
Stop complaining about not being able to digest dynamic template partial names and simplify error logging to a single line when not
-
- 03 10月, 2016 1 次提交
-
-
由 Matthew Draper 提交于
-
- 07 8月, 2016 1 次提交
-
-
由 Xavier Noria 提交于
The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
-
- 14 7月, 2016 1 次提交
-
-
由 Javan Makhmali 提交于
-
- 02 7月, 2016 1 次提交
-
-
由 Edouard CHIN 提交于
- `partial` option is not used anymore, this was removed in https://github.com/rails/rails/pull/23724
-
- 16 6月, 2016 3 次提交
-
-
由 Javan Makhmali 提交于
-
由 Javan Makhmali 提交于
-
由 Javan Makhmali 提交于
Fix digesting templates with identical logical names when requesting a format other than the first default
-
- 17 5月, 2016 2 次提交
-
-
由 Kasper Timm Hansen 提交于
Leftover from an earlier commit, chose to fix because I was just down in this file.
-
由 Kasper Timm Hansen 提交于
Per request digest caches were added before we had hooks into different units of work that Rails performs. As such the most reliable way to prevent stale cache digests was with a middleware. The middleware prevented staleness in Action Controller requests. However, the executor is superior because it should also prevent staleness when running just Active Job jobs or broadcasting through Action Cable's server.
-
- 19 2月, 2016 4 次提交
-
-
由 Aaron Patterson 提交于
we know that all child templates will be considered as "partials", so the only one that needs detection by name is the root node
-
由 Aaron Patterson 提交于
Only the root node has injected dependencies, so we don't need to care about them at lower levels. This change pushes the injected dependencies up to where the user passed them in.
-
由 Aaron Patterson 提交于
this is for backwards compatibility. We should remove this after 5-0-stable is created because digest calculation should be amortized. Caching digests of subtrees will speed up digests for other trees that share the same children. However, this will also increase memory, and after the app warms up, then those subtrees will never be reused which means that memory is wasted.
-
由 Aaron Patterson 提交于
This moves digest calculation cache on to the details key object. Before, the digest cache was a class level ivar, and one of the keys was the hash value of the details key object: https://github.com/rails/rails/blob/13c4cc3b5aea02716b7459c0da641438077f5236/actionview/lib/action_view/digestor.rb#L28 An object's hash value is not unique, so it's possible for this cache key to produce colliding keys with no resolution. This commit move cache on to the details key object itself, so we know that the digests are always unique per details key object.
-
- 17 2月, 2016 10 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
this commit removes unused code and changes the monitor to a mutex. Since the digest doesn't recurse on itself anymore, we can just use a mutex
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
also remove the EMPTY node since we won't need it
-
由 Aaron Patterson 提交于
also add an EMPTY sentinel node
-
- 13 2月, 2016 2 次提交
-
-
由 Aaron Patterson 提交于
this lets us leverage Ruby's kwarg handling (exceptions for missing params, etc) ASAP which allows us to skip active support method calls and make sure the exception stack is closer to where the user called the methods.
-
由 Aaron Patterson 提交于
we can use kwargs in this case to avoid values_at and except calls on the options hash
-
- 12 2月, 2016 4 次提交
-
-
由 Kasper Timm Hansen 提交于
Wasn't removed in 57ac7774.
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
then we can stop scattering nil checks (e.g. `try`) through the class.
-
- 05 11月, 2015 1 次提交
-
-
由 Jerry D'Antonio 提交于
-
- 19 9月, 2015 1 次提交
-
-
由 Jerry D'Antonio 提交于
The thread_safe gem is being deprecated and all its code has been merged into the concurrent-ruby gem. The new class, Concurrent::Map, is exactly the same as its predecessor except for fixes to two bugs discovered during the merge.
-