It's a good pattern to store boolean fields as timestamps. Not only do you know if something is true, you know when it was set to be true.
Tweet by Jake Wright
Backend engineer at monzo
However this can lead to code where we repeat code which does the same kind of things.
It may also lead to a scenario where some methods are defined but others aren't.
The ActiveRecord::Events it'll give us a nice helper, that'll generate those handy methods consistently