Decisiv/marginalia — pull request #1 by bbasata (2013-05-23 00:06:57+00:00)
Title: Only access the request object when possible

Resolves errors when `@controller` is `nil`, e.g. rake tasks and console. This change follows the example of the checks in `self.controller` and `self.action`.