Chapter 4. REST, Resources, and Rails
Before REST came I (and pretty much everyone else) never really knew where to put stuff.
With version 1.2, Rails introduced support for designing APIs consistent with the REST style. Representational State Transfer (REST) is a complex topic in information theory, and a full exploration of it is well beyond the scope of this chapter.[1] We‘ll touch on some of the keystone concepts, however. And in any case, the REST facilities in Rails can prove useful to you even if you’re not a REST expert or devotee.
The main reason is that one of the inherent problems that all web developers face is deciding how to name and organize the resources and actions ...
Get The Rails Way 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.