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

Do not monkey patch the app's YAML #2331

Merged
merged 1 commit into from
Jun 19, 2015
Merged

Do not monkey patch the app's YAML #2331

merged 1 commit into from
Jun 19, 2015

Conversation

nwjsmith
Copy link
Contributor

SafeYAML provides a way to avoid monkey-patching the YAML object. This
should be used to avoid overwriting the application's YAML.

This was causing problems with our application, which uses Psych's YAML.safe_load method in ways that are incompatible with SafeYAML's implementation. It's important to note that YAML.safe_load has existed in Ruby's stdlib since 2.1.0.

SafeYAML provides a way to avoid monkey-patching the `YAML` object. This
should be used to avoid overwriting the application's `YAML`.
mshibuya added a commit that referenced this pull request Jun 19, 2015
@mshibuya mshibuya merged commit b5ca6f0 into railsadminteam:master Jun 19, 2015
@mshibuya
Copy link
Member

Thanks!

@nwjsmith nwjsmith deleted the better-freedom-patching branch June 19, 2015 13:39
@bf4
Copy link
Contributor

bf4 commented May 17, 2016

I guess #2397 got lost?

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.

3 participants