I don't understand how or why but I just wasted hours trying to figure out why this was broken and finally narrowed it down to render_component. The problem went away when I removed render_component.
I'm using Rails 2.3.4/2.3.5.
This is fixed in http://github.com/robrasmussen/render_component . Please merge this in so the official version has the fix!