aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/template
diff options
context:
space:
mode:
authorMike Gehard <mike.gehard@gmail.com>2011-02-09 06:32:40 -0700
committerSantiago Pastorino <santiago@wyeworks.com>2011-03-12 13:43:23 -0200
commit58de03f077b0da1cb923f28835b00cd092de3c08 (patch)
tree5fc257dbfc60dd6603c39d4535ddb95dc73837ab /actionpack/lib/action_view/template
parent63c8ea9a6a28ecaabb236dae094d99d9d1ee2ecd (diff)
downloadrails-58de03f077b0da1cb923f28835b00cd092de3c08.tar.gz
rails-58de03f077b0da1cb923f28835b00cd092de3c08.tar.bz2
rails-58de03f077b0da1cb923f28835b00cd092de3c08.zip
Add additional text to NotImplementedErrors [#6328 state:resolved]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Diffstat (limited to 'actionpack/lib/action_view/template')
-rw-r--r--actionpack/lib/action_view/template/resolver.rb2
1 files changed, 1 insertions, 1 deletions
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.