similar to: AJAX File Uploads with Rails

Displaying 20 results from an estimated 30000 matches similar to: "AJAX File Uploads with Rails"

2006 Dec 25
4
Definitive guide for upload progress
Hi Is there some definitive guide for upload progress plugin ? We have in this mailing list a lot of testimonials, bug reports, bug fixes, but there are still people like me who cannot use it correctly. Here is my config: - mongrel 1.0RC and upload progress plugin 0.2.1 - a 6 mongrels cluster - config/mongrel_upload_progress.conf: uri "/", :handler =>
2007 May 18
4
No return status from mongrel upload progress (and thus no updates on the bar)
Hi all, I''m using Boxroom (http://boxroom.rubyforge.org/) and trying to get upload progress working. I''ve also been testing the sample code at http://itblog.mcgeecorp.com/2007/5/15/mongrel-upload-progress-demo/. I run a Mongrel cluster, and so am using drb (as per http://mongrel.rubyforge.org/docs/upload_progress.html). Starting up rails, I get lots of useful-sounding output:
2007 Mar 23
1
upload progress bar don''t work...please help
Hello, I''m trying to install the upload_progress gem and i can''t see the upload progress status. My config is : apache2 with mod_proxy mongrel rails upload.rb : ############## require ''rubygems'' require ''drb'' require ''gem_plugin'' GemPlugin::Manager.instance.load ''mongrel'' => GemPlugin::INCLUDE
2006 Nov 13
2
mongrel upload progress and nginx
Does anyone know whether the mongrel upload progress plugin works with nginx? It works fine for my app under pound, but not with nginx. I am using DRb to handle the uploads as detailed at http://mongrel.rubyforge.org/docs/upload_progress.html . If I am using pound I can see the uploads with irb -r lib/upload_client.rb , but cannot if I am using nginx. Does anyone know anything more about this
2006 Sep 04
3
Mongrel Upload Progress 0.2 -- With Instructions and Examples
Hi Folks, I''m sure tons of people are gonna ruin a whole drawer of their best panties over this one. Rick Olson worked on the mongrel_upload_progress gem, documentation and examples and has almost everything you need to do progress tracked file uploads using just Mongrel to handle the upload. This means that Rails (or any other framework) isn''t blocked while the upload
2006 Aug 29
0
mongrel_upload_progress problems
What is the status of the mongrel_upload_progress gem and Rails? I have been playing around with _why and technoweenie''s code but I''m not sure what is current and what is old. It is not working for me. I am running Mongrel 0.3.13.3 (gem) with mongrel_upload_progress 0.1. My upload URI is /agronomics/sample_cycle/upload, and my progress URI is
2007 Feb 23
0
Mongrel::Uploads.check() not returning status
Hi, I wrote a message earlier regarding how I wasn''t getting any feedback from mongrel_upload_progress. After putting lots of debug messages in the plugin, I figured out what was going on. I had a route like this setup in routes.rb (this was the problem): map.upload "upload/:upload_id", :controller => "file", :action
2007 May 16
1
Rails, Mongrel and Rmagick
i have a rails app with a form that allows uploading an image file. I take the image file and read it into rmagick to verify that it''s an image. For some reason I can''t catch an exception thrown by rmagick inside the app. After an invalid image file is uploaded the process just hangs. I have to kill mongrel and restart to use the app again. img =
2006 Jul 02
4
how to use upload progress?
I''m a bit confused about how to get upload progress to work with mongrel.. I''ve installed the mongrel_upload_progress (0.1) gem, but have no idea what to do with it. According to the following page: http://technoweenie.backpackit.com/pub/602283 there''s a patch (mup.diff) which seems like it patches the mongrel_upload_progress plugin The following blog entry makes it
2007 Jan 19
0
Mongrel::Uploads.check() not returning status
I am trying to get the mongrel upload progress working and am having some problems. I am using Rails 1.1.6 and the latest install of mongrel. I created the config/mongrel_upload_progress.conf per the instructions ... it looks like this ... uri "/", :handler => plugin("/handlers/upload", :path_info => ''/listings/ add_photo''), :frequency
2006 Jun 07
2
Ajax and IE causing Page Not Found and 500 Errors behind SSL
Hi, Forgive this if it is a duplicate, because I was having trouble posting to the list. I have a setup of mongrel behind an apache proxy and I am getting a few people using IE (5.5 & 6.0) complaining about getting sporadic page not found errors when using AJAX features of the site and file uploads behind SSL. I am posting the research I have done on the subject. I have the
2007 Aug 14
0
Temporary files / Uploads
Hi, how can I influence, where mongrel stores temporary files like uploads. As far as I can see, int honours the TMP or TEMP environment. Can I also set it in the configuration file for mongrel? I have not found something about it in the docs. Another thing: When I upload a file, the file is stored 3-4 times: In the TMP by mongrel as mongrel.3400.0 and then as CGI.3400.0 I currently
2007 Feb 27
11
Mongrel upload progress not showing progress on production server
Hi all, Tried out the mongrel upload progress plugin with Drb and it works great on my OSX development box, but when putting it into production (Ubuntu Dapper), uploads complete but the app isn''t returning any values for upload progress, and uploads are not showing up in the queue when running upload_client.rb. Before anyone asks, yes, I''m running both the mongrel instances and
2007 Jun 14
0
upload_progress with --prefix
Hi, I think I may have found a bug: When starting Mongrel with --prefix, upload_progress doesn''t work. When starting without, it does. Is this something I can possibly work around in the Rails code? The app uses url_for throughout. Regards Craig
2006 Jan 06
4
Upload Progress Bar Problems
I''m writing an application where the user will be uploading many images and user feedback is essential. I''ve been trying to get the upload progress bar plug-in to work, but thus far have not had any success. I''ve downloaded Sean Treadway''s application code from his site http://sean.treadway.info/demo/upload/ and I followed the steps in his Upload
2006 Jul 17
1
FF1.0 + Prototype Ajax not working in 0.3.13.x
Hi guys, I have a funny problem that only occurs in FF1.0.x but works fine and dandy in FF1.5. I''d thought its me screwing up with the JS... but even this " What time is it <http://www.onlamp.com/pub/a/onlamp/2005/06/09/rails_ajax.html>" doesn''t work with until I downgrade to Mongrel 0.3.12.4. I don''t like/use FF1.0 too.. but too bad for me
2006 Sep 28
1
upload_progress and DRb.start_service crashes
Whenever I tried to start mongrel_rails with the upload progress script, it would die with the following error: /usr/local/lib/ruby/1.8/drb/drb.rb:837:in `getaddrinfo'': getaddrinfo: No address associated with nodename (SocketError) from /usr/local/lib/ruby/1.8/drb/drb.rb:837:in `open_server_inaddr_any'' from /usr/local/lib/ruby/1.8/drb/drb.rb:860:in
2008 Mar 08
2
restarting cluster without killing in progress file uploads
Hello, I have a cluster of three Mongrels running behind Pound. All is running well except when I restart the cluster (mongrel_rails cluster::restart) any in progress file uploads (handled through mongrel_upload_progress) stop uploading. That is, if I''m uploading a file (via a web app being served by the mongrel cluster) during a restart, my browser will indefinitely pause as if it is
2007 May 23
1
mongrel_cluster + mongrel_upload_progress + drb + capistrano + docs
I just got the mongrel_upload_progress set up with drb and the setup was quick and easy, thanks to the good documentation on http://mongrel.rubyforge.org/docs/upload_progress.html I''d like to get this set up with capistrano, but there are 3 things I can''t figure out: - First, I can''t get lib/upload.rb to run in the background - I''m not familiar with
2006 Aug 29
15
Setup with Apache 2.2 proxy balancer : timeout during uploads
Hi all, I encounter timeout errors during file uploads in my Rails application. I think the problem may be in the Mongrel configuration. Here is my setup: * Load balancer (Cisco CSM, my provider''s Catalyst 6509) * Apache 2.2.3 with mod_proxy_balancer * Mongrel 0.3.13.3 * Rails 1.1.6 * Ruby 1.8.4 * MySQL 5.0.22 * file_column I host an application in which users may upload medium files