Displaying 1 result from an estimated 1 matches for "destroy_with_transact".
2006 Jul 04
1
How to override ActiveRecord#base#destroy
...lines might be the reason that I''m
unable to override detroy():
from transaction.rb
def self.append_features(base)
super
base.extend(ClassMethods)
base.class_eval do
alias_method :destroy_without_transactions, :destroy
alias_method :destroy, :destroy_with_transactions
...
Any ideas, hints, etc.?
best regards,
Torsten