search for: hostel_photo_norm

Displaying 1 result from an estimated 1 matches for "hostel_photo_norm".

Did you mean: hostel_photo_normal
2007 May 28
1
upload_column problems on post after validation error
...;'m using upload_column plugin, it works very well but it throws an exception when I try to repost the form after a validation error. Here some details: Model: (hostel.rb) HOSTEL_PHOTO_DIR = Proc.new {|inst, attr| "hostel/#{inst.id}"} HOSTEL_PHOTO_THUMB = "100x100" HOSTEL_PHOTO_NORMAL = "400x400" image_column :photo_1, :store_dir => HOSTEL_PHOTO_DIR, :versions => { :thumb => HOSTEL_PHOTO_THUMB, :normal => HOSTEL_PHOTO_NORMAL}, :filename => Proc.new {|inst, orig, ext| "photo_1.#{ext}"} Vi...