I often have a use for form tags looking something like the following:
<%= text_field_tag "scene[inputs][1]", "blah" %>
which generates
<input id="scene[inputs][1]" name="scene[inputs][1]" type="text" value="blah"
Which works fine, but it niggles me that the generated html is no longer valid - []'s aren't allowed in ids. The workaround is to always specify the id:
<%= text_field_tag "scene[inputs][1]", "blah", :id => 'scene_inputs_1' %>
which seems ugly & unnecessary.
Is there any interest in patching FormTagHelper so that it automatically changes the id to the underscored form? This would match the behaviour from FormHelper, and form-submitted parameters would continue to function exactly the same (obviously, since they're generated from the name rather than id), but would unfortunately be backwards incompatible with client-side code (eg any javascript or css that uses the form tags' ids).
If there is interest, I'm happy to come up with a patch. If not, I'll carry on monkeypatching.