Skip to content

Commit

Permalink
Revert "Merge pull request #38710 from Madogiwa0124/remove_unecessary…
Browse files Browse the repository at this point in the history
…_require_from_active_support_time"

This reverts commit ffdce01, reversing
changes made to d2d8b28.

This change behavior for applications that require core_ext/integer/time since it will not load
the numeric extensions anymore.
  • Loading branch information
rafaelfranca committed Mar 12, 2020
1 parent 795140d commit 8495fca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions activesupport/lib/active_support/core_ext/integer/time.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# frozen_string_literal: true

require "active_support/duration"
require "active_support/core_ext/numeric/time"

class Integer
# Returns a Duration instance matching the number of months provided.
Expand Down

0 comments on commit 8495fca

Please sign in to comment.