aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/jobs.yml
diff options
context:
space:
mode:
authorAndrew White <andrew.white@unboxedconsulting.com>2016-01-23 15:01:55 +0000
committerAndrew White <andrew.white@unboxedconsulting.com>2016-01-23 15:01:55 +0000
commit8de32bb25295787b68d307c74e50462cd99e6ecc (patch)
treecf9e5762457ca32d37813a2b869a853599baea8e /activerecord/test/fixtures/jobs.yml
parent39ea2b09edcf8179fe69808424d325612194d4cb (diff)
downloadrails-8de32bb25295787b68d307c74e50462cd99e6ecc.tar.gz
rails-8de32bb25295787b68d307c74e50462cd99e6ecc.tar.bz2
rails-8de32bb25295787b68d307c74e50462cd99e6ecc.zip
Document scoping issue with Time.use_zone
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]
Diffstat (limited to 'activerecord/test/fixtures/jobs.yml')
0 files changed, 0 insertions, 0 deletions