aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorAaron Jensen <aaronjensen@gmail.com>2015-03-31 18:43:44 -0700
committerAaron Jensen <aaronjensen@gmail.com>2015-03-31 18:43:44 -0700
commit97698606de78cef4bd2202ed04ce98d3a5f2d629 (patch)
tree839921aa804d0ab2087a38fe0ba47615ade46cbc /activerecord
parentbaa176e3f043dbea4e64dbc25dfa1b7ee02a9831 (diff)
downloadrails-97698606de78cef4bd2202ed04ce98d3a5f2d629.tar.gz
rails-97698606de78cef4bd2202ed04ce98d3a5f2d629.tar.bz2
rails-97698606de78cef4bd2202ed04ce98d3a5f2d629.zip
Only coerce time when comparing if necessary
In dev, ActiveSupport::FileUpdateChecker#max_mtime triggers many time comparisons. Time#to_time is quite a bit slower than not doing it, so we should avoid it if possible.
Diffstat (limited to 'activerecord')
0 files changed, 0 insertions, 0 deletions