O'Reilly logo

Flexible Rails: Flex 3 on Rails 2 by Peter Armstrong

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required