ore data
mercredi 18 octobre 2017
How to execute a private method after a model update?
I have created a private method inside a controller.
private def update_mark ... ... end
I want my private method to be called whenever record gets updated to any of the four Models we have. How can we do this ?
Aucun commentaire:
Enregistrer un commentaire
Article plus récent
Article plus ancien
Accueil
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire