search for: add_profile

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

Did you mean: aa_profile
2008 Feb 04
2
attachment_fu and form_tag for multiple models?
...ing trouble with using attachment_fu and the form_tag method. now i know attachment_fu isn''t designed for form_tag but am really hoping someone has a solution for this as frankly i''m stumped. here''s the form_tag part in the view... <% form_tag( { :action => "add_profile" }, { :multipart => true }) do %> <%= file_field_tag ''image'', :uploaded_data %> <%= text_area :profile, :body, :cols => 25, :rows => 6 %> <%= submit_tag ''Submit'' %> <% end -%> and in the add_profile method... def ad...