rails/rails — pull request #5602 by drogus (2012-03-27 00:12:41+00:00)
Title: Don't ignore non Enumerable values passed to sanitize (closes #5585)

When someone accidentally passes a string to sanitize like:

sanitize("foo", :tags => "b")

there is no indication that it's the wrong way and span
will not be removed.