steveklabnik/request_store — pull request #9 by danielocallaghan (2012-12-19 12:21:40+00:00)
Title: Allow RequestStore to be usable when the middleware is not inserted/enabled

Fixes an issue when using RequestStore in rake tasks/tests etc:

1.9.3p125 :002 > RequestStore.store[:my_var]
NoMethodError: undefined method `[]' for nil:NilClass
from (irb):2