I have a project that uses the WYSIWYG editor 'wysihat-engine' by Dutch guys from 80beans . It use to work fine with Rails version 3.0.9 , but after upgrading to 3.1.0 the wysihat-engine cannot find 'html_escape' from ERB::Util (ActiveSupport 3.1.0) , giving me this error message :
undefined method `html_escape' for #<ActionView::Helpers::InstanceTag:my-wysihat-editor- instance>
I've fixed it (verrrry lamely , indeed) by defining the 'html_escape' inside 'wysihat-engine.rb' , but I'm sure , there's a reason not to do it this way :).
My questions : 1. Is this a bug of the new version of Rails ? 2. Is there a better choice for WYSIWYG editor for a Rails 3.1 projects ?
Thank you in advance .