jcasimir/draper — pull request #264 by reinh (2012-08-29 18:52:14+00:00)
Title: Separate ViewContext get/create context behavior

Separating these behaviors eliminates and entire class of bugs around proper memoization by performing memoization in one place and building the new value in another place. It also makes it more obvious that `self.current` is, in fact, memoizing because it follows a familiar pattern for memoization: `@foo ||= build_foo`.