sinatra/sinatra-contrib — pull request #78 by kytrinyx (2012-12-08 21:54:00+00:00)
Title: Don't mutate the template cache

When passing the same template twice the renderer got called with the
wrong number of variables, and the options hash was unable to locate the
:locals hash.