mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Don't require event to be passed to read_entry
This will make sure this method is backward compatible with stores that don't pass the intrumentation payload to the method.
This commit is contained in:
parent
f432f70aeb
commit
0a59de2d2a
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ module ActiveSupport
|
|||
hit = false
|
||||
super
|
||||
end
|
||||
options[:event][:store] = cache.class.name if hit
|
||||
options[:event][:store] = cache.class.name if hit && options[:event]
|
||||
value
|
||||
else
|
||||
super
|
||||
|
|
Loading…
Reference in a new issue