similar to: request_ends callback

Displaying 20 results from an estimated 2000 matches similar to: "request_ends callback"

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 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 =>
2008 May 05
0
mongrel_upload_progress_bar - where are my files?
> I just configured mongrel_upload_progess_bar following this doc: > > http://mongrel.rubyforge.org/wiki/UploadProgress > > My "config/mongrel_upload_progress.conf" looks like: > > uri "/", > :handler => plugin("/handlers/upload", > :path_info => ''/Users/railer/Documents/RAILS/dummy/files/upload'', >
2008 May 05
0
mongrel_upload_progess_bar - where are my files?
> I just configured mongrel_upload_progess_bar following this doc: > > http://mongrel.rubyforge.org/wiki/UploadProgress > > My "config/mongrel_upload_progress.conf" looks like: > > uri "/", > :handler => plugin("/handlers/upload", > :path_info => ''/Users/railer/Documents/RAILS/dummy/files/upload'', >
2008 Jan 03
1
Can''t get upload progress bar working
Hi, Apologies if this has been asked and answered previously. I just started looking at Merb today as I''d like to use it as an upload server, especially the upload progress feature. I''ve installed the latest Merb gem (0.4.2) and created a new application to test out uploading. I took elements of the mr_blog application and integrated them into it. I realise this
2007 Nov 06
2
what did I do?
I''m following merb trunk. This morning I updated my gems, sync''d merb source and installed the merb gem from source. I don''t know if I did something wrong, or if a new gem messed things up, or if there was a merb change which broke something. Now I get this error: Request: REQUEST_URI: / (2007-11-05 20:27:04) Params: {"action"=>"index",
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 Sep 21
1
RESTful route gives a 500 error when Content-Type is set
I have encountered a problem with a RESTful route, I have the simple route; r.resources :people With a corresponding controller, when I tried to access it using ActiveResource I get a server error, I have tracked this down to a problem where if the header ''Content-Type: application/xml'' is sent it errors out: > curl -H ''Accept: */*''
2007 Dec 19
3
Trapping custom exceptions in merb 0.5.0
Hi, I have the following setup: class Fred < Application class InvalidKey < Merb::ControllerExceptions::Unauthorized; end def blee raise InvalidKey unless key end end I have added a view exception template in views/exceptions/invalid_key.html.erb but I am not seeing the exception page being rendered ?? The request seems to correctly go to
2007 May 14
7
Help a newb with 0.3.1
Hi, first off thanks Ezra for Merb - it''s certainly interesting and I''m keen to have a play. However, I''m having difficulties in getting started. I''ve followed the docs for setting up mrblog and everything seems to be installed correctly, and merb appears to start fine: $ merb you must install the markaby gem to use .mab templates you must install the
2006 Sep 17
1
Question about mongrel_upload_progress
Like most people, I find the file upload process very annoying, in that you hit submit and sit there, seemingly forever, as your file gets sent. So I felt it would be a great goodness to have progress updates as file_upload_progress offers. However, I have been unable to get it to work, and I''m not sure why. I created the form roughly as said, except that my target 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
2006 Sep 20
0
boy, that mongrel_upload_progress handler sucks!
I started actually using the upload progress handler, and noticed it was leaking memory over time. Looking at the code, I noticed that cancelled uploads weren''t being cleaned up. I bugged Zed about adding a request_abort callback to handlers, but I found a simple way to monkey patch that in: # config/mongrel_upload_progress.conf # yes, this file is being used with -S meaning
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:
2006 Jun 16
2
Javascript error?
Hi, I''m trying to get this progress bar plugin working, but I''m having some trouble. I''m running Apache 2.0.52 with mod_fcgid on Mac OS X. Everything seems to be working fine, but the progress bar simply doesn''t work. In my log I get: Multipart upload with progress (id: 1, size: 176731770) Finished processing multipart upload in 18.96244s but no requests in
2008 Jan 16
3
Application generation
Hi All, Is anyone seeing this? $ merb merb_paste /usr/local/lib/ruby/gems/1.8/gems/merb-0.5.2/lib/merb/config.rb:69:in `parse_args'': uninitialized constant Merb::RELEASE (NameError) from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize'' from /usr/local/lib/ruby/gems/1.8/gems/merb-0.5.2/lib/merb/config.rb:67:in `new'' from
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 Apr 11
0
upload_progress with apache
I am running Ruby 1.8.4, Rails 1.1, and apache2 with fcgid. I installed the upload_progress plugin, but it doesn''t seem to be working. In my log I see only Processing SortController#create (for 71.32.223.31 at 2006-04-11 11:29:09) [POS\ T] Session ID: 556c9a44ce6452a22bc1dbbab3ee5a2f Parameters: {"commit"=>"Upload",
2006 Dec 04
2
Merb on Win32 Platform
I''m trying to get Merb running on Windows XP SP2 and am experiencing some difficulties. I load http://localhost:4000/posts/new in my browser expecting to see the contents of new.herb rendered. However the following error is reported: Request: PATH_INFO: /posts/new Params: {"action"=>"new", "id"=>nil, "controller"=>"posts"}
2007 Aug 31
3
Bootstrapping from SVN
Is there a simple way to bootstrap merb directly from the Subversion repository, rather than first installing it as a gem? I can do the following if I already have an old gem lying around: merb -g testapp # using an old gem cd testapp rake merb:freeze_from_svn Unfortunately, that means I''m using an old version of the generator. So for example, when I just tried this,