From 58de03f077b0da1cb923f28835b00cd092de3c08 Mon Sep 17 00:00:00 2001 From: Mike Gehard Date: Wed, 9 Feb 2011 06:32:40 -0700 Subject: Add additional text to NotImplementedErrors [#6328 state:resolved] Signed-off-by: Santiago Pastorino --- actionpack/lib/action_view/template/resolver.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_view') diff --git a/actionpack/lib/action_view/template/resolver.rb b/actionpack/lib/action_view/template/resolver.rb index 4d999fb3b2..589b2a1a76 100644 --- a/actionpack/lib/action_view/template/resolver.rb +++ b/actionpack/lib/action_view/template/resolver.rb @@ -36,7 +36,7 @@ module ActionView # because Resolver guarantees that the arguments are present and # normalized. def find_templates(name, prefix, partial, details) - raise NotImplementedError + raise NotImplementedError, "Subclasses must implement a find_templates(name, prefix, partial, details) method" end # Helpers that builds a path. Useful for building virtual paths. -- cgit v1.2.3