I need to have from 1 to 15 file fields for photos. Now I\'m uploading files with carrierwave gem building every photo object in my controller like: N.times { @car.photos.build } and then provide N f
I tried to set up for uploading photos with my rails app.However, the carrierwave uploader does not resize the photos being uploaded.When I do not call the resize_to_fill function, the photos are uplo
I would like to crop an image to the size the user has selected from a list (e.g. 100x100px, 200x200px,...)
i keep getting an ActiveRecord::UnknownAttributeError: unknown attribute: image开发者_C百科able_id
My super-simple Sinatra app is a list of notes, and each note has an attached image. I\'ve got a \'put\' route set up that lets me update notes, but unless I re-upload the image, I lose it (note.imag
I\'m not sure if this is a problem with Carrierwave, or if I\'m doing something wrong.But my origin开发者_Python百科al file which is able to be read by my parser looks like:
I want to perform the similar thing as from base64 photo and paperclip -Rails, but 开发者_如何学Cwith Carrierwave.
I have a Carrierwave image upload in a nested simple_form which works (sort of) unless the user does not specify a file, in which case a blank Picture object is created unless there was a previously e
I\'m working on upgrading from attachment_fu to carrierwave, since attachment_fu is broken in rails 3.
All uploads s开发者_开发百科hould be at least 150x150 pixels. How to validate it with Carrierwave?Why not to use MiniMagick?Modified DelPiero\'s answer: