Displaying 4 results from an estimated 4 matches for "merbuploadhandler".
2007 May 14
7
Help a newb with 0.3.1
...: /path/to/merb/mrblog
:cache_templates: true
:use_mutex: true
:config: dist/conf/mup.conf
:host: 127.0.0.1
:show_error: true
:port: "4000"
:sql_session: true
However any request to 127.0.0.1:4000 returns:
Mon May 14 17:55:30 BST 2007: ERROR: undefined method `each'' for
#<MerbUploadHandler:0x234bcfc>
with nothing in the browser or in the log. Similarly, using a newly
generated test app, I get:
Mon May 14 17:56:27 BST 2007: ERROR: undefined method `each'' for
nil:NilClass
I''ve tried both installing via gem and from trunk. Without a trace
and a line number...
2007 Mar 08
6
Transfer-encoding: gzip
Hello!
What is the simplest way to make merb respond to the client sending Accept-Encoding: gzip?
Just checking if it exists, otherwise I''ll implement it myself.
Regards,
Magnus
2007 Feb 06
0
Question about file upload max size
Hi,
We use merb for our file upload server. Everything is ok except file
upload size limit, we want to cancel file upload process immediately once we
learn that the size of upload files has exceed the max size limit.
First, we try to hack MerbUploadHandler#request_begins(here, we can get
CONTENT_LENGTH), but get trouble to cancel the upload process elegantly.
Currently, we have no choice but to let browser to do the work. Our web
client will query process info from server, and it know the max size limit,
when it find that the size > allowed m...
2007 Sep 18
10
Routes
hi all,
I want to move some routing tasks out of the router and into the
controller. The goal is to make Merb feel less like mod_rewrite and
give the user more control at the controller. The new Router is
simple: it takes the path_info (not the whole request) then outputs a
controller class and some parameters from the path matching. The rest
of the routing would be done at the controller level.