RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: routes xRack x
Routing in Rails 3
Episode #203Mar 01, 201035 comments

Routing in Rails 3

Rails 3 sports a new routing interface. In this episode I show how to translate the old interface into the new one and show off a few new features. (13 minutes)
Action Controller Walkthrough
Episode #395Dec 02, 201277 comments

Action Controller Walkthrough

Do you ever wonder what goes on behind the scenes when a Rails controller handles a request? What do the "render" and "redirect_to" methods do exactly? This and more covered as we walk through the code of ActionController::Base. (11 minutes)
Authentication with Warden
Episode #305Dec 05, 201144 comments

Authentication with Warden

Warden makes it easy to move authentication up into Rack middleware. This means authentication can be accessed outside of a Rails controller such as in routes or in a mountable engine. (12 minutes)
Rack in Rails 3
Episode #222Jul 12, 201026 comments

Rack in Rails 3

The router in Rails 3 is fully compatible with Rack. Learn how to embed Sinatra into an app, handle redirects, and improve on Rails Metal. (8 minutes)