aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers/url_helper.rb
diff options
context:
space:
mode:
authorJay Hayes <ur@iamvery.com>2015-06-25 17:54:32 -0500
committerJay Hayes <ur@iamvery.com>2017-04-27 12:00:13 -0700
commit756de667ae9a4b17a7ab6c7e4b17e73e67c27cba (patch)
tree531c379cf08149f84c4e338fbe116ddb9fe4c0f6 /actionview/lib/action_view/helpers/url_helper.rb
parentb32d64df5e5160e25804c7019e2da76bd115f3a6 (diff)
downloadrails-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 'actionview/lib/action_view/helpers/url_helper.rb')
0 files changed, 0 insertions, 0 deletions