Displaying 2 results from an estimated 2 matches for "merb_dispatch".
Did you mean:
merb_dispatcher
2007 Aug 02
1
random code questions
merb_dispatcher.rb:28
controller = klass.build(request.body, request.params, route, response)
Why not just use a typical constructor?
merb_dispatcher.rb:35
raise Merb::HTTPMethodNotAllowed.new(method, allowed)
Why not check for this after the action has been dispatched to the controller?
controller_mixin.rb:14...
2007 Aug 13
0
Problems running merb from trunk
...re
routed to a controller blow up. I''m getting a ''Bad controller'' error.
The reason I''m a bit flummoxed is because the stack trace makes no
sense.
It terminates on this line:
resolve_controller 68 /opt/local/lib/ruby/gems/1.8/gems/merb-0.3.7/
lib/merb/merb_dispatcher.rb
As you can see, this is in the merb-0.3.7 gem, but earlier in the
stack trace I can see this:
run 290 /Users/lukesutton/Pending/merb_test/framework/lib/merb/
server.rb
So, even though I''m running merb from the framework dir, for some
reason it''s calling code in the...