Skip to content

Instantly share code, notes, and snippets.

@rgould
Created May 2, 2012 21:44
Show Gist options
  • Save rgould/2580751 to your computer and use it in GitHub Desktop.
Save rgould/2580751 to your computer and use it in GitHub Desktop.
Refactor the UsersController

Standing at the edge of the Cliffs of Refactoring, he surveyed the landscape. He saw the English settlers overwhelming the French colonists in the Valley of Config; He saw the magnificent View Mountains, though some of the peaks looked almost identical; He saw the neat little town of Model, nestled by the river Rails, with smoke drifting out of the chimneys. From his vantage point, he could see deep in the Chasm of Controllers, where his eyes saw a figure emerging from a dark cave. It was the UsersController! Once a renowned and beautiful entity, it now resembles a shambling, mutating monster. It came writhing out of the cave, dragging by a leash the AccountsController, savagely beating it with a wielded club. He averted his gaze, sunk his head into his hands, and said "The horror, the horror."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment