lib/active_support/callbacks.rb in activesupport-3.0.1 vs lib/active_support/callbacks.rb in activesupport-3.0.2

- old
+ new

@@ -485,10 +485,10 @@ filters.each do |filter| chain.delete_if {|c| c.matches?(type, filter) } end - options[:prepend] ? chain.unshift(*mapped) : chain.push(*mapped) + options[:prepend] ? chain.unshift(*(mapped.reverse)) : chain.push(*mapped) end end # Skip a previously defined callback for a given type. #