prototype_helper.rb's insert_html using Insertion

Hey folks,

Line 725 of actionpack/lib/action_view/helpers/prototype_helper.rb, the insert_html method, uses Insertion, which seems to be deprecated in Prototype as of Prototype 1.6:

Should it use Element.insert instead?

Thanks, Dan

Yes. Anyone helping out with updating/cleaning up javascript helpers in ActionView is welcome. If you can’t do it yourself for some reason, open up a ticket for this (search for older tickets just in case) and link to it from this thread.

Let’s nudge this in the right direction.

Okay, I'll do it one evening this week.

Just created a ticket: