Skip to content

Resolve "[Rails5] expected "2018-05-07 13:53:08 UTC" to be an instance of ActiveSupport::TimeWithZone"

Mario de la Ossa requested to merge 47959-rails5-redis-timewithzone into master

What does this MR do?

Fixes a deserialization issue in RedisCacheable

type_for_attribute takes a string, not a symbol. Before, we were passing it a symbol and because of that it could not find the right column so it would return the default 'type' which is String.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #47959 (closed)

Merge request reports

Loading