mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
8de32bb252
The Time.use_zone method will only affect ActiveSupport::TimeWithZone instances created inside of the block passed to Time.use_zone. This could be confusing when fetching a model and then reading the attribute before the block and it not changing afterwards because Active Record caches the conversion from the database value. Since changing the behavior of Active Record to recreate the value on every attribute read is an expensive operation the best we can do is to document the issue. Fixes #23195. [ci skip] |
||
---|---|---|
.. | ||
active_support | ||
active_support.rb |