Kernel#returning => Object#tap #38

Open
wants to merge 1 commit into
from

Projects

None yet

1 participant

@svenaas
svenaas commented Jul 29, 2011

Hi Rick,

I updated the sanitize_filename method to replace Kernel#returning with Object#tap. I was getting way to many deprecation warnings after updating an app from Rails 2.3.8 to 2.3.12.

Best regards,

Sven

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment