Attachment_fu Windows Problem

Auf Windows Systemen kann attachment_fu unter Umständen die Datei nicht richtig berrechnen, weil das schreiben der Datei zulange dauert.

http://beast.caboo.se/forums/2/topics/1124


There were problems with the following fields:

* Size is not included in the list

Einfachste Lösung ist es die minimale Dateigröße runter zu schrauben:
has_attachment :content_type => ['application/pdf', 'application/msword', 'text/plain'],
:storage => :file_system,
:min_size => 1.kilobytes,
:max_size => 50000.kilobytes