RailsConf 2020 CE - Building a Rails Controller From Scratch by Alex Kitchens

Published: 04 May 2020
on channel: Confreaks
5,533
153

Building a Rails Controller From Scratch by Alex Kitchens


If you replaced ActionController with an implementation of your own, what would you have to build to get your app working again? In this talk, we'll do just that. We'll see how the controller interacts with the router to receive a request, process it, and return a response. We'll also rebuild controller features like Params, Controller Callbacks, and Rendering. In the end, we'll have a new functioning controller class called AwesomeController, and we will have seen what it takes to process a request in Rails.

__________

Alex Kitchens (@alexcameron89) is a software engineer at Stitch Fix, where he gets to embrace his love of Rails as a backend developer.