I'm new to Ruby on Rails. I have defined a method and set it as after commit callback of a model. However the view template ( for any action like create) from the corresponding controller is getting rendered before the callback is invoked. I need it to be the other way round.
Aucun commentaire:
Enregistrer un commentaire