Skip to content
This repository
Browse code

Stub find_template so that when handle_render_error is called in Acti…

…onView::Template, we get to see the actual underlying error rather than a NoMethodError.

This shows an encoding bug on Ruby 1.9.3.
  • Loading branch information...
commit b5f908a7ad515215f164e306f82c3e6c506182cb 1 parent d486103
Jon Leighton authored November 03, 2011

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. 3  actionpack/test/template/template_test.rb
3  actionpack/test/template/template_test.rb
@@ -8,6 +8,9 @@ class LookupContext
8 8
     def disable_cache
9 9
       yield
10 10
     end
  11
+
  12
+    def find_template(*args)
  13
+    end
11 14
   end
12 15
 
13 16
   class Context

1 note on commit b5f908a

Jon Leighton

This is the report for the encoding bug: http://redmine.ruby-lang.org/issues/5564

Please sign in to comment.
Something went wrong with that request. Please try again.