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

Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>
This commit is contained in:
Aaron Patterson
2009-06-02 22:37:59 -07:00
committed by Yehuda Katz + Carl Lerche
parent ab2d6abb55
commit 49bdbebca6

View File

@@ -202,7 +202,7 @@ module ActiveSupport
# 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