#471 ✓resolved
Xavier Noria

request handling

Reported by Xavier Noria | September 19th, 2010 @ 04:29 PM | in The Rails 3 Way

In Rails 3, the entry point to a request is a RouteSet.

The route set chooses the rule that matches, and calls its Rack endpoint.

Now, a route like

 match 'foo', :to => 'foo#index'

has a dispatcher instance associated, whose #call entry ends up calling FooController.action(:index).call.

But you could have any other thing there, like a Sinatra application, a redirect macro call, or a bare lambda. In those cases no dispatcher is involved.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket