This project is archived and is in readonly mode.
before and after write callbacks
-
Santiago Pastorino
- Milestone cleared.
- Assigned user set to José Valim
- Importance changed from to Low
-
José Valim
- State changed from new to wontfix
Thanks for the patch Fabien, but there are not a lot of use cases that requires you to use before_write and after_write. That said, in the few cases you need it, using after_save :some_method and after_destroy :some_method works just fine. This way, we can keep the callback stack simpler. :) Thanks!
