diff options
author | Eugene Kenny <elkenny@gmail.com> | 2019-02-20 21:07:34 +0000 |
---|---|---|
committer | Eugene Kenny <elkenny@gmail.com> | 2019-02-20 21:07:34 +0000 |
commit | 817ffc08bfe9be0eca9a88d0588a09bcc54dc5e8 (patch) | |
tree | 79ab9fd686d23972d2c5d47c4e4947e62da8d81d /activestorage/lib | |
parent | 0f70b025839f4df9267de0d5a7fb23d4db1a0c83 (diff) | |
download | rails-817ffc08bfe9be0eca9a88d0588a09bcc54dc5e8.tar.gz rails-817ffc08bfe9be0eca9a88d0588a09bcc54dc5e8.tar.bz2 rails-817ffc08bfe9be0eca9a88d0588a09bcc54dc5e8.zip |
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 `<module:ActiveStorage>': undefined method `minutes' for 5:Integer (NoMethodError)
Diffstat (limited to 'activestorage/lib')
-rw-r--r-- | activestorage/lib/active_storage.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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" |