tma/html_helpers — pull request #4 by jzellman (2011-12-02 23:02:09+00:00)
Title: Uninitialized Constant Fix

Hi,

I had html_helpers 1.1.3 installed as a gem in a rails 2 project. #decode_entities would error with "uninitialized constant HTML::EntityCoder::HTMLEntities"

It looks like htmlentities is being loaded in init.rb however init.rb is not used with gems.

I ran the unit tests which also failed. So I added "require htmlentities" to the top of html_helpers.rb

Thanks,

Jeff