Couldn’t find an example with the bare bones of a Sinatra with ActiveRecord application that supports different databases for each environment with as minimum code as possible. And how to successfully push it to Heroku. So I just created a repo with it.

Hope it helps. Any kind of feedback is appreciated.