mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Proper lines numbers for stack trace info
This commit is contained in:
parent
e314b3ff6d
commit
18116791d0
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ module ActiveSupport #:nodoc:
|
|||
end
|
||||
|
||||
UNSAFE_STRING_METHODS.each do |unsafe_method|
|
||||
class_eval <<-EOT, __FILE__, __LINE__
|
||||
class_eval <<-EOT, __FILE__, __LINE__ + 1
|
||||
def #{unsafe_method}(*args, &block) # def capitalize(*args, &block)
|
||||
to_str.#{unsafe_method}(*args, &block) # to_str.gsub(*args, &block)
|
||||
end # end
|
||||
|
|
Loading…
Reference in a new issue