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
This commit is contained in:
David Heinemeier Hansson
2005-07-15 20:18:51 +00:00
parent c0771fe7d8
commit 1708a863a5
2 changed files with 3 additions and 1 deletions

View File

@@ -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]

View File

@@ -287,7 +287,7 @@ module ActionView #:nodoc:
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)