[Rails] customized form_for in ApplicationHelper

2010-05-19 Thread poseid
hello, I want to make a table within a form by making a new form_tag. The following code in ApplicationHelper fails: def tabular_form_for(name, object = nil, options = nil, proc) concat(table, proc.binding) form_for(name, object, (options||{}).merge(:builder =

[Rails] customized form_for in ApplicationHelper

2010-05-19 Thread poseid
hello, I want to make a table within a form by making a new form_tag. The following code in ApplicationHelper fails: def tabular_form_for(name, object = nil, options = nil, proc) concat(table, proc.binding) form_for(name, object, (options||{}).merge(:builder =