aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-04-08 12:01:15 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2010-04-08 12:03:57 -0700
commit0e44eb35d6e1b99ed624aaec839a03c12147f123 (patch)
tree3b0c699f1b379450fe228f2f41419ebb79e3b370 /activesupport
parent00ee9b33698715fb9265a227715a443e21762ea1 (diff)
downloadrails-0e44eb35d6e1b99ed624aaec839a03c12147f123.tar.gz
rails-0e44eb35d6e1b99ed624aaec839a03c12147f123.tar.bz2
rails-0e44eb35d6e1b99ed624aaec839a03c12147f123.zip
fisting stack trace [#4349 state:resolved]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/module/delegation.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/module/delegation.rb b/activesupport/lib/active_support/core_ext/module/delegation.rb
index b73f4c2b59..40a1866428 100644
--- a/activesupport/lib/active_support/core_ext/module/delegation.rb
+++ b/activesupport/lib/active_support/core_ext/module/delegation.rb
@@ -126,7 +126,7 @@ class Module
%(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