I’ve just started to use Heroku to host my apps and have found that i keep editing the default database after i’ve created the Rails app.
Obviously this is very frustrating and was making me think i’d missed something, so i decided that there must be an easier way (and there’s always an easier way with Rails) and that i should go back and read the docs again….
… So to create a new rails app with a postgre database as default, run:
rails new –database=postgresql my_new_postgre_app
et voila… new app created with Postgre database!
Guess i need to re-read the docs 😛