aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2019-08-01 21:07:19 +0900
committerAkira Matsuda <ronnie@dio.jp>2019-08-01 21:09:57 +0900
commitb3b3ff5dfdfa378a06f04557f7f9861e781abb0b (patch)
tree915ea6c4289efd737666d4121bc91f034a8806a8 /activesupport
parent2b222a89ecaebf55174425d7f714c82d8987b21d (diff)
downloadrails-b3b3ff5dfdfa378a06f04557f7f9861e781abb0b.tar.gz
rails-b3b3ff5dfdfa378a06f04557f7f9861e781abb0b.tar.bz2
rails-b3b3ff5dfdfa378a06f04557f7f9861e781abb0b.zip
Missing require "AS/core_ext/date_time/conversions"
This causes "NameError: undefined local variable or method `nsec' for #<DateTime:0x0000559163cdd878>"
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/date_and_time/calculations.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/core_ext/date_and_time/calculations.rb b/activesupport/lib/active_support/core_ext/date_and_time/calculations.rb
index c7a2378e41..27cb47eb6e 100644
--- a/activesupport/lib/active_support/core_ext/date_and_time/calculations.rb
+++ b/activesupport/lib/active_support/core_ext/date_and_time/calculations.rb
@@ -1,6 +1,7 @@
# frozen_string_literal: true
require "active_support/core_ext/object/try"
+require "active_support/core_ext/date_time/conversions"
module DateAndTime
module Calculations