You are here: Home // Controllers
Rails Controllers: Before, After, and Around Filters
Podcast: Play in new window
| Download
In your Rails controllers you have filters you can place on incoming requests, outgoing responses, or wrap around your actions.
Before filters are run on requests before the request gets to the controller’s action. It can return a response itself and completely bypass the action.
The most common use of before filters is validating a user’s authentication...

