# File lib/paper_trail/has_paper_trail.rb, line 118 def paper_trail_on_destroy(recording_order = 'after') unless %w[after before].include?(recording_order.to_s) fail ArgumentError, 'recording order can only be "after" or "before"' end send "#{recording_order}_destroy", :record_destroy, :if => :save_version? return if paper_trail_options[:on].include?(:destroy) paper_trail_options[:on] << :destroy end