Sha256: 1620e1e8db2e87d3699877653b345c58c90b0b0f296d36fab58886af6e9f75a2
Contents?: true
Size: 190 Bytes
Versions: 15
Compression:
Stored size: 190 Bytes
Contents
module Activities class SectionObserver < ActiveRecord::Observer observe :section def after_destroy(record) Activity.destroy_all(:section_id => record.id) end end end
Version data entries
15 entries across 15 versions & 2 rubygems