This project is archived and is in readonly mode.
ActiveRecord::Observer is not aware of method added by including modules
-
Neeraj Singh
- Importance changed from to Low
Can you submit a patch with what you think should be the behavior. Thanks.
-
Robert Pankowecki
- Tag changed from activerecord, module, observed_methods, observers, rails3, rails3.0.3 to activerecord, module, observed_methods, observers, patch, rails3, rails3.0.3
I made the implementation much simpler.
-
Robert Pankowecki
https://gist.github.com/717052 # Overview of the changes
-
Robert Pankowecki
Do you think the patch is fine ?
-
lewy313
I checked this patch today and it worked for me
-
Aaron Patterson
sigh. Why didn't observers work like this in the first place?
This patch is fine and I'll apply.
-
Repository
- State changed from new to resolved
(from [61f2d52d8a95ca89ebcb107848890c07b014750c]) Simplifies observer implementation [#6065 ActiveRecord::Observer is not aware of method added by including modules state:resolved] https://github.com/rails/rails/commit/61f2d52d8a95ca89ebcb107848890...
-
Repository
(from [bba3dacc3dc6ac379209f2eda0da5d2dd93d6b04]) Simplifies observer implementation [#6065 ActiveRecord::Observer is not aware of method added by including modules state:resolved] https://github.com/rails/rails/commit/bba3dacc3dc6ac379209f2eda0da5...
