search for: photo_1

Displaying 2 results from an estimated 2 matches for "photo_1".

Did you mean: photo1
2007 May 28
1
upload_column problems on post after validation error
...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}"} View (signup_customer.rhtml): <% upload_form_t...
2010 Mar 26
6
Rake argument error
...full trace by running task with --trace) Here is the file that can be useful # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html one: filename: MyString thumbnail: MyString description: MyString two: filename: MyString thumbnail: MyString description: MyString photo_1: id:1 filename: train.jpg thumbnail: train_t.jpg description: My ride to work photo_2: id: 2 filename: lighthouse.jpg thumbnail: lighthouse_t.jpg description: I take dates here all the time photo_3: id: 3 filename: gargoyle.jpg thumbnail: gargoyle_t.jpg description: My pap...