diff options
author | Aaron Jensen <aaronjensen@gmail.com> | 2015-03-31 18:43:44 -0700 |
---|---|---|
committer | Aaron Jensen <aaronjensen@gmail.com> | 2015-03-31 18:43:44 -0700 |
commit | 97698606de78cef4bd2202ed04ce98d3a5f2d629 (patch) | |
tree | 839921aa804d0ab2087a38fe0ba47615ade46cbc /guides/source/association_basics.md | |
parent | baa176e3f043dbea4e64dbc25dfa1b7ee02a9831 (diff) | |
download | rails-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 'guides/source/association_basics.md')
0 files changed, 0 insertions, 0 deletions