jcasimir/draper — pull request #43 by esdras (2011-10-10 10:35:00+00:00)
Title: Not caching view_context anymore

Hi Jeff

I was following this thread https://github.com/jcasimir/draper/issues/12 and I was experiencing the same issues with devise's current_user helper method. So I decided to follow @numbers1311407's advice and stop caching the view context and it worked for me. It is just one line of code but I think it is worth a pull request. (just trying to make myself useful =P). I don't have a deep understanding of the project so I might be missing something.

Thanks a lot for the gem, it is awesome.