collectiveidea/html5 — pull request #1 by mikowitz (2012-01-04 19:11:47+00:00)
Title: Small fix to work with Ruby 1.9.x

Hey,

We've been using this on a Rails project that we're in the process of upgrading to use Ruby 1.9.3, and I stumbled across a small gotcha in the code.

In Ruby 1.8.x, #instance_methods returns an array of Strings, whereas in 1.9.x it returns Symbols. This was causing problems with the library no longer filtering out the FormHelper methods that should not be overwritten.

I've patched that in the commit in this pull request. I'm not sure how actively this project is being maintained, but if it still is, here's the fix.

Thanks!

--Michael