similar to: Paperclip upload fails sometimes

Displaying 20 results from an estimated 2000 matches similar to: "Paperclip upload fails sometimes"

2010 Feb 15
4
Changing the :path and :url options of has_attached_file in paperclip
Hello, I am using the paperclip plugin to upload images and it works absolutely fine. I intend to save my uploaded images to C:\Application_name\public folder. Accordingly, with some study over the i-net, I changed the :path option of has_attached_file to - :path => "C:/Application_name/ public/:class/:attachment/:id/:style_:basename.:extension" Now, the files are being saved to
2009 Jun 29
1
Printing output together
Hi!   I want to print the output all together with a single column name   s21<-c(1:1000); var21<-lapply(s21,function(x){    ns<-rnorm(78,8,9);    n<-length(ns);    Mn<-mean(ns)    Sn2<-var(ns)    return(cbind(x,Mn,Sn2)); }); var21 but my code is giving me somewhat like the following [[1]] x   Mn          Sn2   [1,] 1 7.86 10.56540 [[2]] x   Mn          Sn2  
2011 Jun 03
0
valums ajax file upload + paperclip in Rails 2.x Options
Hello all, I am trying to setup ajax file upload + ajax display in Rails 2.0.2 for project specific purposes. I am using valums ajax file upload plugin(https://github.com/valums/file-uploader). Using this plugin, I have been able to upload these files working in my javascript and I am able to pass them as params. I have found a blog in which they have shown how to combine this plugin with
2009 Aug 16
0
Can't upload pictures using Paperclip due to weird error
I''m developing in Ubuntu, already have installed ImageScience and I''m getting this error everytime I try to upload a picture: [paperclip] An error was received while processing: #<Paperclip::NotIdentifiedByImageMagickError: /tmp/ stream20090816-10096-ddupoc-0 is not recognized by the ''identify'' command.> Can someone guide me on a solution? Thanks
2011 Mar 08
1
Bulk file upload in rails through paperclip
Hi all, I have a rails application running and in my application am uploading some very large file (SAY 2GB) ,as of now am doing one file at time ,but i would like to do bulk file upload in my appliaction ,I came to know about Paperclip as one of plug-in for bulk file upload.... But is it possible to have bulk upload of very large file (SAY 2GB) through
2010 Mar 01
0
Upload progress bar with Paperclip, Mongrel, Apache
Hello all, I''ve been looking now for several days for an easy to use progress bar plugin or tutorial. I have Paperclip installed and it works great. My production server runs on Apache and Mongrel. It''s amazing that there''s no easy set up progress bar plugin or gem out there. I have seen "SWFUpload", but that seems very complicated to implement. Thank you
2008 Dec 25
0
How to upload multiple files using paperclip
Has any one used paperclip to upload multiple files?. How do we do that?. I am totally clueless. any help is highly appreciated. thanks in advance. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2014 Apr 28
0
upload multiple images with paperclip in rails 4?
Hello, I'm learning rails and creating a small project, Someone could tell me how can I upload multiple images with paperclip in rails 4? Thank you very much, I hope someone can help me. Greetings. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an
2010 May 05
6
form remote tag :before=> function problem
Hi I have a strange problem, I am using the below code form_remote_tag :url => ''/abc/test'',:before => "return hello();", :update=>''test_categories'' ,:complete => "Element.hide(''spinner'')", :loading => "Element.show(''spinner'')" do I am using :before=> function to validate the
2009 Nov 10
4
Model spec for file upload with paperclip and fastercsv
I just started my ImportsController and was this was really the way to go: ////////import.rb///////////////// class Import < ActiveRecord::Base has_attached_file :csv validates_attachment_presence :csv after_save :process_csv private def process_csv FasterCSV.foreach( csv.path) do |row| #TODO end end end /////////import_spec.rb///////////////// require
2009 Jul 28
1
[PAPERCLIP] How to avoid image crop in paperclip styles
Hello All, I am using rails paperclip plugin for image upload. my image has different styles and the original image gets cropped while processing styled image. I dont want image to be cropped. Is there any way ???????? Thanks, Sandip R~ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2008 Dec 12
0
Is there anyone in charge of package wmtsa ?
Here is another occurrence of wmTSA internal error. My time series is a short breathing cycle (2425-Cyle_9.txt). Since wmtsa functions that extract extrema seem to expect longer series than I have, I tried the folowing two tricks: 1) I prolong the 1-cycle series on both ends through duplicating the first value (on the left end( and the last value on the right end as any ties as the 1-cycle
2011 Aug 13
1
Paperclip - could not find generator.
Hello there, I installed plugin "paperclip" for working with images, but after running a command -- rails generate paperclip user avatar I am getting error -- Could not find generator paperclip. If I will try run a command -- bundle show paperclip So I will get -- /Library/Ruby/Gems/1.8/gems/paperclip-2.3.0 In Gemfile I have -- gem "paperclip", "~> 2.3" I
2008 Sep 17
1
Stubbing Paperclip calls to Amazon S3 (for Rspec)
Would anyone happen to know how to stub a call to S3 from Paperclip? I''ve searched every where and no one seems to have posted anything about this. I''ve done very little in the way of spec''ing dependencies on external services, so any ideas on how to do this with Paperclip & S3 would be most appreciated. I''m happy with stubbing out Thinking Sphinx - would
2010 Aug 22
0
Paperclip - possible to modify file and load file content as string?
Wanted to see if anyone knows of a way - or the preferred way - to do these three tasks with Paperclip: 1) Access the content of an uploaded file before save. I did find that the following works before save, but is there a clearer way to do this: self.uploaded_file.queued_for_write[:original].open.read 2) Access the content of a file after save while my AR model instance is still alive and/or
2012 Jan 25
0
Paperclip preserve files ?
Hi, I am using paperclip to upload files. The problem I am facing is, based on my object property I need to preserve my file. Means my object should be deleted from db but the file need to be restored. I am using the option :preserve_files => true. If I keep the above option in model it will be access to all the objects of the model. I need to restore only for limited objects.
2009 Aug 17
0
Paperclip: processor proc not firing
Hi It''s extremely rare that I have to post something on the Rails list, but this is one of those times that I''ve been completely stuck for countless hours. Environment: Rails 2.3.3 I''ve implemented a custom processor proc for video thumbnailing with Paperclip (latest trunk version as git submodule, and yes, it''s updated) using the instructions posted
2009 Oct 08
2
Variable sizes with paperclip
How can i create variable sizes with paperclip. That the user can set the size he want and paperclip makes the picture. I only can create fixed sizes. -- Posted via http://www.ruby-forum.com/.
2011 Feb 15
0
Question on Paperclip paths/urls
Note that if I use the default Paperclip :path (i.e. not setting this attribute and files going to public/system), everything is fine. This question is to do with setting an alternative path. I have a model using paperclip for a file with a custom path: has_attached_file :tu_raw_bill_csv, :path =>
2009 Jul 07
2
paperclip unit testing
Hi, Rails 2.3.2, paperclip 2.2.9.2 How can I unit test my model that has a paperclip attachment? I add to my model: --- CODE START --- has_attached_file :image, :default_url => '''' attr_protected :image_file_name, :image_content_type, :image_image_size --- CODE END --- Than I type a UNIT test: --- CODE START --- foo=FooModel.new({:image =>