Problem with Upload_Column in uploading images

Hello everyone,
I am using upload_cloumn for uploading images. Problem is that the
thumbnails are not creating. If I do not specify the file name option in
the following code, thumbnails will be created. Any one pls help me to
understand what is wrong with the following code? Please help.

image_column :photo,:store_dir => “userprofile”,:versions =>{:thumb =>
“50x50”,:large => “200x300”} ,:filename => proc{|record, file|
“#{record.id}-#{record.login}.#{file.extension}”}

Thanks in advance,
Indu

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