after_do
after_do copied to clipboard
Is it possible to define it to fire before or after every method in the class?
Same for the classes that inherit from base class. Let's say I want something to fire before every method call in every model. How would I add it ApplicationRecord?
Same for ApplicationJob or ApplicationController, etc.