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

Bug: cache_key.size doesn't return length of filename but size of file #5108

Merged
merged 1 commit into from Feb 21, 2012

Conversation

mirakui
Copy link
Contributor

@mirakui mirakui commented Feb 21, 2012

cache_key.size returns the file size if cache_key is an instance of Pathname.
But in this case it should be length of the filename.

tenderlove added a commit that referenced this pull request Feb 21, 2012
Bug: cache_key.size doesn't return length of filename but size of file
@tenderlove tenderlove merged commit 12e2405 into rails:master Feb 21, 2012
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.

None yet

3 participants