class Contact < ActiveRecord::Base after_save :on_save protected def on_save MyContactService.on_save(self) end end