From b3b3ff5dfdfa378a06f04557f7f9861e781abb0b Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Thu, 1 Aug 2019 21:07:19 +0900 Subject: Missing require "AS/core_ext/date_time/conversions" This causes "NameError: undefined local variable or method `nsec' for #" --- activesupport/lib/active_support/core_ext/date_and_time/calculations.rb | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3