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

ActionView#sanitize helper raises NoMethodError when passed nil #7

Closed
damien opened this issue Apr 22, 2014 · 5 comments
Closed

ActionView#sanitize helper raises NoMethodError when passed nil #7

damien opened this issue Apr 22, 2014 · 5 comments

Comments

@damien
Copy link
Contributor

damien commented Apr 22, 2014

A commit I introduced a while back seems to have caused a bug: Normally, when you pass a ActionView helper a nil value, nil is returned. However, sanitize now raises a NoMethodError when passed nil values.

@damien
Copy link
Contributor Author

damien commented Apr 22, 2014

Working on a fix for that, will send a pull request as soon as it's ready

@vjt
Copy link
Owner

vjt commented Apr 22, 2014

👍, thanks! care to add a regression test? 😄

@damien
Copy link
Contributor Author

damien commented Apr 22, 2014

Certainly!

@damien
Copy link
Contributor Author

damien commented Apr 22, 2014

Forgot to include this in the commit: This gets fixed by #8

@damien damien closed this as completed Apr 22, 2014
@vjt
Copy link
Owner

vjt commented Apr 22, 2014

OK done - gem pushed to RubyGems and release announced on GitHub.

THANKS! ^_^

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

No branches or pull requests

2 participants