mongoid-observers for mongoid 4.0
Because this gem doesn’t exist and I need to use it very often. Therefore, I extract the code from mongoid on my own. It’s basically the same code from mongoid before it’s removed. Try it out, https://github.com/chamnap/mongoid-observers.
Post a comment