Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #10937 (closed defect: fixed)

Opened 7 months ago

Last modified 7 months ago

[PATCH] fixe line offset for compiled templates

Reported by: Aleksey Kondratenko Assigned to: core
Priority: normal Milestone: 2.x
Component: ActionPack Version: edge
Severity: normal Keywords:
Cc:

Description

During refactoring of template compilation code (commited in r8689) someone lost '-' in front of line_offset. Because of this wrong line numbers were reported in exception backtraces.

Test case and fix is applied.

Attachments

commit-line-offset (1.9 kB) - added by Aleksey Kondratenko on 01/27/08 13:47:33.

Change History

01/27/08 13:47:33 changed by Aleksey Kondratenko

  • attachment commit-line-offset added.

01/27/08 20:48:16 changed by nzkoz

  • status changed from new to closed.
  • resolution set to fixed.

(In [8744]) Correct line numbers from template errors. Closes #10937 [Aleksey Kondratenko]