Module: CaseCollectionObserver::Base::ClassMethods
- Defined in:
- lib/case_collection_observer/base.rb
Instance Method Summary collapse
- #has_and_belongs_to_many_with_observer(association_id, options = {}, &extension) ⇒ Object
- #has_many_with_observer(association_id, options = {}, &extension) ⇒ Object
Instance Method Details
#has_and_belongs_to_many_with_observer(association_id, options = {}, &extension) ⇒ Object
19 20 21 22 |
# File 'lib/case_collection_observer/base.rb', line 19 def has_and_belongs_to_many_with_observer(association_id, = {}, &extension) has_and_belongs_to_many association_id, (association_id, ), &extension case_observer_callbacks(association_id) end |
#has_many_with_observer(association_id, options = {}, &extension) ⇒ Object
14 15 16 17 |
# File 'lib/case_collection_observer/base.rb', line 14 def has_many_with_observer(association_id, = {}, &extension) has_many association_id, (association_id, ), &extension case_observer_callbacks(association_id) end |