RESTful thinking considered harmful - Shopify
Mar 30, 2012

Summary
Critiques the application of RESTful principles to transactional processes, arguing that explicit URIs for state transitions (e.g., POST /orders/42/pay) are superior to generic updates (e.g., PATCH /orders/42). Advocates for modeling processes as state machines and ensuring transactional integrity and security by associating specific methods with transactions, rather than relying on generic update actions. Proposes improvements to Rails generators to discourage direct `update_attributes` calls and encourage state machine implementations.