Hi!
I just discover attachment_fu a few days ago. I made it work in a simple form.
Now I want to use a polymorphic relation. I want to attach a picture to a 'association' in the 'association' form.
Models:
Hi!
I just discover attachment_fu a few days ago. I made it work in a simple form.
Now I want to use a polymorphic relation. I want to attach a picture to a 'association' in the 'association' form.
Models:
File uploads need a multipart form:
<% form_tag :action => ‘create’, :html => {:multipart => true} do %>
This is clearly stated on line 115 of the attachment_fu README.
Best regards
Peter De Berdt