I am running into an issue with a scaffold where editing or updating an entry to a table leaves it in place on my local server/db however after pushing to heroku updating the database entry pushes the edited post to the bottom of the list. I would like for entries on Heroku to work the same as on my local machine (stay in place after an edit).
I'm assuming this has to do with a difference between sqlite and pg? Just wondering where and how to fix this.
ex.
Local app:
- entry one
- entry two
- entry three
*Change entry two to "entry five"
- entry one
- entry five
- entry three
Heroku:
- entry one
- entry two
- entry three
*Change entry two to "entry five"
- entry one
- entry three
- entry five
Thanks for your help!
Aucun commentaire:
Enregistrer un commentaire