search for: new_contact

Displaying 1 result from an estimated 1 matches for "new_contact".

Did you mean: new_contract
2006 Jan 02
2
Dynamic form tags
...s.com/rails/pages/HowToReuseEditViewsForNewViews There''s this comment there saying you only need the tag "<%= auto_form %>" when using the code below. Can somebody tell me if that will work when extending it with model_name (some how)? I have several new_* methods (e.g. new_contact, new_company, new_project, etc), and I''m not going to bother with this challenge when you big guys out there tell me it''s a no go to develop this. def auto_form action = case controller.action_name when "new" then "create" when "edit" th...