I think the reason is because updated_data is a method for
product_image class, but even i use <%= f.file_field :uploaded_picture
%>(field for my virtual atribute uploaded_picture) in my edit view i
got errors, but this error:
undefined method `content_type' for "Fotos-132.jpg":String
Why can't find content_type inside attachement_fu?
Some one can help? How can i update existing attachment when this file
is stored in diferent table and associated with other table?
I bought Advanced Rails recipes but the chapter about upload had the
same problem.