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 interplay of humanize and html_escape #13953

Merged
merged 1 commit into from
Feb 6, 2014
Merged

fix interplay of humanize and html_escape #13953

merged 1 commit into from
Feb 6, 2014

Conversation

seanwalbran
Copy link

Fix this error when humanize is used together with ERB::Util.html_escape:

[1] pry(main)> ERB::Util.html_escape("hello").humanize
NoMethodError: undefined method `upcase' for nil:NilClass

Looks like it was introduced in PR #12789, and is related to #3496.

rafaelfranca added a commit that referenced this pull request Feb 6, 2014
@rafaelfranca rafaelfranca merged commit 6cc3afb into rails:master Feb 6, 2014
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