Hi,

i stumbled across that destroy callbacks like before_destroy are not
triggert when calling the instance method destroy on an object. If you
call the class method, callbacks work as expected.

This is quite different from, for example, the save callbacks are
triggered. Is there a reason for this behavior?

Norman
-- 
Norman Timmler

http://blog.inlet-media.de

_______________________________________________
Rails-core mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to