Happy database triggers for ActiveRecord