From 817ffc08bfe9be0eca9a88d0588a09bcc54dc5e8 Mon Sep 17 00:00:00 2001 From: Eugene Kenny Date: Wed, 20 Feb 2019 21:07:34 +0000 Subject: Add missing require to active_storage.rb Since b21f50d8ae36d9b50b673579e17bccbe55363b34, requiring active_storage on its own has failed with the following error: activestorage/lib/active_storage.rb:55:in `': undefined method `minutes' for 5:Integer (NoMethodError) --- activestorage/lib/active_storage.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activestorage') diff --git a/activestorage/lib/active_storage.rb b/activestorage/lib/active_storage.rb index e542c4b2ca..5c5da551ae 100644 --- a/activestorage/lib/active_storage.rb +++ b/activestorage/lib/active_storage.rb @@ -26,6 +26,7 @@ require "active_record" require "active_support" require "active_support/rails" +require "active_support/core_ext/numeric/time" require "active_storage/version" require "active_storage/errors" -- cgit v1.2.3