Class: ProductOffer
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- ProductOffer
- Defined in:
- app/models/product_offer.rb
Instance Method Summary collapse
Instance Method Details
#after_destroy ⇒ Object
5 6 7 8 9 |
# File 'app/models/product_offer.rb', line 5 def after_destroy if self.product_offer_record && !self.product_offer_record.frozen? self.product_offer_record.destroy end end |