Skip to content
New issue

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

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

Already on GitHub? # to your account

Replace send with __send__ #2178

Merged
merged 1 commit into from
Jun 8, 2017

Conversation

dminuoso
Copy link

@dminuoso dminuoso commented May 17, 2017

Right now if a user overrides the send method in their model it breaks the mount_upload helper and carrierwave validations. By using __send__ instead it avoids possible name clashes for when the user does override send in their model.

@mshibuya mshibuya merged commit 16c0eb5 into carrierwaveuploader:master Jun 8, 2017
@mshibuya
Copy link
Member

mshibuya commented Jun 8, 2017

Thanks.

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

Successfully merging this pull request may close these issues.

2 participants