Permalink
Browse files

fisting stack trace [#4349 state:resolved]

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  • Loading branch information...
1 parent 00ee9b3 commit 0e44eb35d6e1b99ed624aaec839a03c12147f123 @tenderlove tenderlove committed with jeremy Apr 8, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/core_ext/module/delegation.rb
@@ -126,7 +126,7 @@ def delegate(*methods)
%(raise "#{self}##{prefix}#{method} delegated to #{to}.#{method}, but #{to} is nil: \#{self.inspect}")
end
- module_eval(<<-EOS, file, line)
+ module_eval(<<-EOS, file, line - 5)
if instance_methods(false).map(&:to_s).include?("#{prefix}#{method}")
remove_possible_method("#{prefix}#{method}")
end

0 comments on commit 0e44eb3

Please sign in to comment.