mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
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:
committed by
Yehuda Katz + Carl Lerche
parent
ab2d6abb55
commit
49bdbebca6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user