How to create a common after_create callback for all models?

Viewed 1839

Consider I have the models User, Account and Products. I want a common after_create callback for all these models say log_creation.

How do I do that?

2 Answers
Related