[Rails] insert_html inserting fragment twice

mofo mofo
Wed, 26 Jul 2006 02:37:02 -0000

Has anyone had trouble with inline RJS insert_html with the latest
version of Rails?

My problem is that insert_html inserts the html fragment twice.  For
example,

    render :update do |page|
        page.insert_html :top, "some_list",
" booyow "
    end

would render " booyow " twice.

Thanks.