From 0361f2fe5e309bd084f1a3f2a65194c0639c2662 Mon Sep 17 00:00:00 2001 From: Pietro Donatini Date: Sun, 19 Sep 2010 20:18:49 +0200 Subject: [PATCH] fix callbacks execution order [#5650] --- activesupport/lib/active_support/callbacks.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb index d811c3b..6c7335f 100644 --- a/activesupport/lib/active_support/callbacks.rb +++ b/activesupport/lib/active_support/callbacks.rb @@ -364,7 +364,7 @@ module ActiveSupport method << "end" end - reverse_each do |callback| + each do |callback| method << callback.end(key, object) end -- 1.5.6.5