diff options
author | Godfrey Chan <godfreykfc@gmail.com> | 2014-05-30 02:29:17 -0700 |
---|---|---|
committer | Godfrey Chan <godfreykfc@gmail.com> | 2014-05-30 02:47:56 -0700 |
commit | f1eddea1e3f6faf93581c43651348f48b2b7d8bb (patch) | |
tree | 32d168a6e37f1b40d0eedfedf78ad93705cdab95 /actionview/test/template/text_test.rb | |
parent | 58d3e025793bec3a97c6f3afd8d3e36040d21167 (diff) | |
download | rails-f1eddea1e3f6faf93581c43651348f48b2b7d8bb.tar.gz rails-f1eddea1e3f6faf93581c43651348f48b2b7d8bb.tar.bz2 rails-f1eddea1e3f6faf93581c43651348f48b2b7d8bb.zip |
:scissors: removed deprecated `Numeric#ago` and friends
Replacements:
5.ago => 5.seconds.ago
5.until => 5.seconds.until
5.since => 5.seconds.since
5.from_now => 5.seconds.from_now
The removed tests does not affect coverage – we have equivalent test cases in
the tests for `AS::Duration`.
See #12389 for the history and rationale behind this.
Diffstat (limited to 'actionview/test/template/text_test.rb')
0 files changed, 0 insertions, 0 deletions