Database triggers

Hi all,

How can I bind a ruby action to a database trigger?

Cheers,
hugo