Ticket #505 (closed defect: fixed)

Opened 10 months ago

Last modified 10 months ago

provide file and line information when using eval

Reported by: jo..@technicalpickles.com Assigned to:
Priority: major Milestone: The Future
Component: Merb Keywords: eval
Cc:

Description

In a blog post, Ola Bini recommends providing file and line information whenever you use eval. When the code being eval'd is in a stack trace, this lets you know where to look.

http://ola-bini.blogspot.com/2008/01/ruby-antipattern-using-eval-without.html

Change History

02/13/08 19:45:07 changed by jo..@technicalpickles.com

I've made the changes here:

http://github.com/technicalpickles/merb-core/tree/eval

All specs seem to continue to pass.

02/13/08 22:50:39 changed by iv..@gweezlebur.com

Will you put this in lighthouse? http://merb.lighthouseapp.com

02/14/08 05:40:24 changed by jo..@technicalpickles.com

02/18/08 14:42:30 changed by e.@brainspl.at

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