This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.
A few months into a project, I watched a developer add a mark_complete action to a TasksController that already had archive, unarchive, assign, unassign, prioritize, move_up, move_down, and duplicate. The routes file had so many member blocks it looked like a DSL for avoiding REST. Each custom action did one thing, took maybe five lines of code, and was perfectly reasonable on its own. But…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.