I'm developing an app in ruby on rails (rails v4).
I made some changes on the model and the data need to be modified by a script once the application in production is updated and restarted.
Is there a neat way to say to the rail server to execute a script (just once) when the code is updated.
It's like when you add a gem in the Gemfile and the server won't start until you do a bundle update.
Aucun commentaire:
Enregistrer un commentaire