diff options
author | Jay Hayes <ur@iamvery.com> | 2015-06-25 17:54:32 -0500 |
---|---|---|
committer | Jay Hayes <ur@iamvery.com> | 2017-04-27 12:00:13 -0700 |
commit | 756de667ae9a4b17a7ab6c7e4b17e73e67c27cba (patch) | |
tree | 531c379cf08149f84c4e338fbe116ddb9fe4c0f6 /Gemfile | |
parent | b32d64df5e5160e25804c7019e2da76bd115f3a6 (diff) | |
download | rails-756de667ae9a4b17a7ab6c7e4b17e73e67c27cba.tar.gz rails-756de667ae9a4b17a7ab6c7e4b17e73e67c27cba.tar.bz2 rails-756de667ae9a4b17a7ab6c7e4b17e73e67c27cba.zip |
Ensure input to distance_of_time_in_words is not nil
* Internally all input is converted to time so that it can be treated
uniformly.
Remove now-unneeded condition
* Now that all input is treated is converted to time, we no longer need
to type check it.
Rename variables to clarify their purpose
Extract private method to normalize distance_of_time args to time
Update actionview changelog
Diffstat (limited to 'Gemfile')
0 files changed, 0 insertions, 0 deletions