I have a custom form builder, and one of the reasons for this custom builder is that for every form, I need to include some extra params that I don't want to explicitly put in with hidden field tags in every form I write.
for_for(@foo, :builder => MyBuilder) do |f|
# stuff I shouldn't have to worry about
# this should be put in all the time without me having to do it
hidden_field_tag('extra', 'myextrainfo')
# normal things I would put in
f.text_field(:bar)
end
What do I have to do in my custom form builder, or what can I override or method chain to add some extra hidden things in the form (without just adding URL params)?