How to invoke a method every time database is modified
- by titaniumdecoy
I am writing a Ruby on Rails app and I want a method to be called every time the database is modified. Is it possible to do this without inserting a method call in every location where the database is modified?