Permalink
Browse files

wycats forgot a +1, so I added it [#2749 state:resolved]

Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>
  • Loading branch information...
tenderlove authored and Yehuda Katz + Carl Lerche committed Jun 3, 2009
1 parent ab2d6ab commit 49bdbebca69cabea6e4cea6e09cb61dc990bb1f7
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/new_callbacks.rb
@@ -202,7 +202,7 @@ def start(key = nil, options = {})
# end
name = "_conditional_callback_#{@kind}_#{next_id}"
- txt, line = <<-RUBY_EVAL, __LINE__
+ txt, line = <<-RUBY_EVAL, __LINE__ + 1
def #{name}(halted)
#{@compiled_options[0] || "if true"} && !halted
#{@filter} do

0 comments on commit 49bdbeb

Please sign in to comment.