Attachment_fu problem when using edge rails

Hi,

Has anyone any suggestions on whats going on here.

when ever I attempt to upload an image the following error message is
returned
“Size is not included in the list”

I have tried different settings in my model, but am not sure whats going
wrong.

here is my photo model

class Photo < ActiveRecord::Base

#plugins
has_attachment  :content_type => :image,
                :storage => :file_system,
                :size => 1..2.megabyte,
                :resize_to => '250x350>',
                :thumbnails => { :thumb => '40x40!' }

validates_as_attachment

end

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs