Topic: Raising Custom Exceptions
It seems to me that a suitably-DRY way of handling (some)errors would be raising custom exceptions, which you could then handle in rescue_action in your controllers.
For example, in a user authentication controller:
def AccountController < Application Controller
# Blah Blah Blah
if # Password doesn't match
Perhaps not the best example - it is a more obvious point where the exception might be raised in several points in a controller.
Anyway, is this a good idea? And if so, where is the best place to define the exception objects?