Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing require to active_storage.rb #35344

Merged

Conversation

eugeneius
Copy link
Member

Since b21f50d, 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)

I discovered this while trying to get the rspec-rails test suite to pass on Rails master, as it requires active_storage outside the context of a full application.

Since b21f50d, 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)
@georgeclaghorn georgeclaghorn merged commit 8e66548 into rails:master Feb 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants