diff options
author | Robin Dupret <robin.dupret@gmail.com> | 2017-05-22 21:56:43 +0200 |
---|---|---|
committer | Robin Dupret <robin.dupret@gmail.com> | 2017-05-30 13:46:21 +0200 |
commit | ba84867549a2bb5c1d3cb0bec8cf9f41e46f6d74 (patch) | |
tree | 7c68ae5c2c515b7ce91429a57eadc543718b365f /activerecord/lib/active_record/associations/association.rb | |
parent | 845aabbcd3805420090f8b92b50a4562577cf210 (diff) | |
download | rails-ba84867549a2bb5c1d3cb0bec8cf9f41e46f6d74.tar.gz rails-ba84867549a2bb5c1d3cb0bec8cf9f41e46f6d74.tar.bz2 rails-ba84867549a2bb5c1d3cb0bec8cf9f41e46f6d74.zip |
Remove requirement on mathn
The test using mathn was first introduced in f1d9179 to check that the
`distance_of_time_in_words` properly doesn't use the `Fixnum#/` method
by explicitly requiring this library as it redefines this method.
Given that `mathn` has been gemified in Ruby 2.5 and is deprecated since
version 2.2, we can certainly safely assume that people will most-likely
not require this library in their application.
However, to make sure that we don't regress, let's add a test similar to
the one before f1d9179.
Diffstat (limited to 'activerecord/lib/active_record/associations/association.rb')
0 files changed, 0 insertions, 0 deletions