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

Fix return value of cached? according to document #2510

Merged

Conversation

kmiyake
Copy link
Contributor

@kmiyake kmiyake commented Sep 24, 2020

The document says cached? is expected to return Bool value. But actually, the method returns a @cache_id.
According to the document and ruby basic style, fixes return value to Bool value from @cache_id.

This change has breaking changes, so perhaps should not be changed this behavior.

@mshibuya mshibuya merged commit 32474dc into carrierwaveuploader:master Nov 30, 2020
@mshibuya
Copy link
Member

Makes sense, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants