search for: mongrel_handl

Displaying 5 results from an estimated 5 matches for "mongrel_handl".

Did you mean: mongrel_handler
2007 Aug 10
1
serving static files
It seems that Merb is sending static files with Mongrel::DirHandler. (mongrel_handler.rb:52) if get_or_head and @files.can_serve(path_info) # File exists as-is so serve it up MERB_LOGGER.info("Serving static file: #{path_info}") @files.process(request,response) I haven''t done benchmarks and I''ve hardly glanced at DirHandler'...
2007 Nov 06
2
what did I do?
...s/1.8/gems/merb-0.4.0/lib/merb/controller.rb:80:in `dispatch'' /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/dispatcher.rb:53:in `dispatch_action'' /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/dispatcher.rb:35:in `handle'' /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/mongrel_handler.rb:86:in `process'' /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel.rb:155:in `process_client'' /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel.rb:154:in `each'' /Library/Ruby/Gems/1.8/gems/mongrel-1.1/lib/mongrel.rb:154:in `process_client'' /Library/Ruby/G...
2007 Sep 21
1
RESTful route gives a 500 error when Content-Type is set
.../lib/merb/dispatcher.rb:84:in `dispatch_default_exception'' /usr/lib/ruby/gems/1.8/gems/merb-0.4.0/lib/merb/dispatcher.rb:74:in `dispatch_exception'' /usr/lib/ruby/gems/1.8/gems/merb-0.4.0/lib/merb/dispatcher.rb:37:in `handle'' /usr/lib/ruby/gems/1.8/gems/merb-0.4.0/lib/merb/mongrel_handler.rb:89:in `process'' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:618:in `process_client'' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:617:in `each'' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:617:in `process_client'' /usr/lib/...
2007 Dec 19
3
Trapping custom exceptions in merb 0.5.0
.../lib/merb/dispatcher.rb:51:in `synchronize'' /opt/local/lib/ruby/gems/1.8/gems/merb-0.5.0/lib/merb/dispatcher.rb:51:in `dispatch_action'' /opt/local/lib/ruby/gems/1.8/gems/merb-0.5.0/lib/merb/dispatcher.rb:35:in `handle'' /opt/local/lib/ruby/gems/1.8/gems/merb-0.5.0/lib/merb/mongrel_handler.rb:87:in `process'' /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.2/lib/mongrel.rb:159:in `process_client'' /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.2/lib/mongrel.rb:158:in `each'' /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.2/lib/mongrel.rb:158:in `process_client...
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.