paperclip
Rails 3.1rc6 rake asset:precompile breaks paperclip default images
I have the following paperclip setup in one of my models: has_attached_file :avatar,:styles => { :large =>\"#{APP_CONFIG[\"uploads\"][\"images\"][\"size\"][\"large\"]}>\",[详细]
2023-03-30 19:52 分类:问答Rspec & Paperclip: Broken with attr_accessible?
I\'m having a problem getting my rspec controller tests to pass with attr_accessible in Rspec...but not from the console.[详细]
2023-03-30 07:40 分类:问答Rails 3/ paperclip/ imagemagick - merging two images
When a user uploads an image in my rails app imagemagick handles two transformations: has_attached_file :photo, :styles => { :listsize => \"50x50#\", :articlesize => \"300x300\" },[详细]
2023-03-30 02:56 分类:问答Paperclip, how to append a random stamp at the end of the file?
I\'m using paperclip with my rails 3 app. I want to append a random string, nothing to long or crazy at the end of the file to cache bust the CDN. Anyone know a real simple way to do this?[详细]
2023-03-30 02:39 分类:问答Image not recognized by the 'identify' command
I\'m trying to upload some photos into my Rails app. But I\'m getting: Paperclip::NotIdentifiedByImageMagickError in Admin::ImagesController#create[详细]
2023-03-29 16:31 分类:问答paperclip working in development but not working in production?
I\'m pretty new to rails and seem to be having an issue with the paperclip gem. I installed the gem and it works well in development (localhost:3000) but when I\'m running it on the heroku server, for[详细]
2023-03-29 09:37 分类:问答how to define s3.yml bucket with a directory?
right now I have something like this for my s3.yml: developmen开发者_C百科t: bucket: mydev access_key_id: xxxxxxxx[详细]
2023-03-29 08:10 分类:问答Errno::EPIPE (Broken pipe) and AWS::S3::ExceptionClassClash when trying to mix heroku, paperclip and S3
I am trying to setup Amazon S3 with paperclip on heroku. I have everything working fine on my machine. I upload from my machine to S3 without any issues. I pushed my code to heroku and am seeing two i[详细]
2023-03-29 03:12 分类:问答ImageMagick not letting me upload jpgs
I am running Paperclip 2.3.11 and ImageMagick 6.7.1-1. I am uploading images to an Amazon S3 account. If I upload a .png file it works fine, if I upload a .jpg it does not.[详细]
2023-03-29 01:26 分类:问答How to improve and run a custom validation method?
I am using Ruby on Rails 3.0.9 and Paperclip 2.3. Since the Paperclip gem offers only two validation methods (validates_attachment_presence and validates_attachment_content_type) I开发者_JS百科 am try[详细]
2023-03-28 10:05 分类:问答