自分もはまりかけたのでメモ。attachment_fuで“Size is not in the list”というエラーが出まくる場合、:sizeで最小値、最大値を指定する必要がある。

http://rupakg.wordpress.com/2008/03/13/attachment_fu-size-parameter-on-windows/

Well, long story short, I have been going crazy trying to make attachment_fu upload a image file greater than 10KB in size on Windows. It keeps showing an error message “Size is not in the list”. Turns out that the size parameter needs to explicitly set to the following:

has_attachment  :content_type => :image, :size => 0.kilobytes..1.gigabytes

The important part is that you have to specify the minimum limit as 0.kilobytes or it will not work.