This document discusses REST theory and how to apply REST principles in Rails applications. It covers REST concepts like resources, statelessness, HTTP verbs and status codes. It also explains how Rails supports REST with resource routing, link helpers, content negotiation and authentication. The document includes an example case study and discusses refactoring the example to be more RESTful.