Chapter 5. Expanding the Rails code, RESTfully
WS-Death Star
David Heinemeier Hansson
In this iteration, we’ll finally learn about this RESTful stuff we’ve been talking about, as we add new models and controllers for the tasks, projects, and locations, along with the migrations needed to create their database tables. We’ll also address some basic security concerns that need to be considered at the outset.
5.1. A brief note about REST
Before we dive in and create the model classes and migrations for tasks, projects, and locations, I want to give enough background about REST and how we’re using it in this book. I’ll start with a disclaimer.
5.1.1. Disclaimer: doing REST wrong
Readers who are REST experts and/or went to Scott Raymond’s excellent ...
Get Flexible Rails now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.