rails/rails — comment on commit 70fd692c1eada44027f9581f84461ca87abba8c6
File: actionpack/lib/action_view/template.rb line 166
By josevalim:

We should have an ensure block that sets `lookup.formats` to its original value.