Permalink
Browse files

Fixed line number reporting for Builder template errors #1753 [piotr]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1838 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent c0771fe commit 1708a863a5ed9ea37010de099fbe68193e67f4ba @dhh dhh committed Jul 15, 2005
Showing with 3 additions and 1 deletion.
  1. +2 −0 actionpack/CHANGELOG
  2. +1 −1 actionpack/lib/action_view/base.rb
View
@@ -1,5 +1,7 @@
*SVN*
+* Fixed line number reporting for Builder template errors #1753 [piotr]
+
* Fixed assert_routing so that testing controllers in modules works as expected [Nicholas Seckar, Rick Olson]
* Fixed bug with :success/:failure callbacks for the JavaScriptHelper methods #1730 [court3nay/Thomas Fuchs]
@@ -287,7 +287,7 @@ def rhtml_render(extension, template, local_assigns)
def rxml_render(extension, template, local_assigns)
@controller.headers["Content-Type"] ||= 'text/xml'
- eval(template, evaluate_locals(local_assigns))
+ eval(template, evaluate_locals(local_assigns), '(template)(eval)', 1)
end
def delegate_render(extension, template, local_assigns)

0 comments on commit 1708a86

Please sign in to comment.