I have submitted this PR without any discussion, but maybe i should have asked here first: what do you think about adding new Action View helpers to generate hidden input fields from a nested hash?
This can be used to store data in HTML form instead of cookies. I would work like this:
hidden_field_tags_from_nested_hash({ :a => { :b => ['c', 'd']}, 'e' => 5 }, :id => nil)
Output:
<input name="a[b][]" type="hidden" value="c" />
<input name="a[b][]" type="hidden" value="d" />
<input name="e" type="hidden" value="5" />