How to invoke a method every time database is modified

Posted by titaniumdecoy on Stack Overflow See other posts from Stack Overflow or by titaniumdecoy
Published on 2010-04-14T21:12:45Z Indexed on 2010/04/14 21:13 UTC
Read the original article Hit count: 256

Filed under:
|

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?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about database