I found your post and was having the same issue. I was able to solve it
by adding "_attributes" to the nested model in the form:
<% form_for(:product, :url => products_path, :html => { :multipart =>
true }) do |f| %>
...
...
<% f.fields_for(:cover_image_attributes) do |c| %>
<%= c.file_field :uploaded_data %>
<% end %>
...
...
<% end %>
For some reason, Rails, or attachment_fu are missing that link. I wrote
a post about it
http://brandon-harris.com/2009/10/18/nested-model-forms-and-attachment-fu
.
> I dunno seems like there must be something really fundamental that I'm
> missing.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---