Skip to content

Commit

Permalink
wycats forgot a +1, so I added it [#2749 state:resolved]
Browse files Browse the repository at this point in the history
Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>
  • Loading branch information
tenderlove authored and Yehuda Katz + Carl Lerche committed Jul 2, 2009
1 parent ab2d6ab commit 49bdbeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activesupport/lib/active_support/new_callbacks.rb
Expand Up @@ -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
Expand Down

0 comments on commit 49bdbeb

Please sign in to comment.