I am deploying an app on Heroku. Though the experience of deploying is good but I am having pain in fixing stuff.
Very first thing is that autoincrement
IDs are all messed up between heroku db and my db. So before deploy I have to delete all data from my local app and then push my DB to heroku. If I don't do that then while trying to add a record on heroku app I get duplicate key errors. Is there a way to control autoincrement ids in rails?
Second thing, when there are errors on heroku app. I see the custom 500 error page. We're sorry, but something went wrong
(500). Is there a way to show some sort of error message instead? Or I have to depend on heroku logs for that? This is just for development so if some error happens I'd just like to see it on the page itself. Atleast some part of it...
I'm new to Heroku and Rails