ruby on rails - Two different databases -


is possible have 2 different databases development or production? 1 heroku , 1 local development?

heroku uses postgresql prefer sqllite local development.

yes, it's totally possible - can use heroku db:push push local sqlite database postgres running on heroku.

but

and personal experience, i've run situations sql i've written different between sqlite/postgres/mysql and gems i've used used findbysql weren't tested against postgres , has caught out when i've put on heroku.

for few seconds takes install postgres locally recommend use db platform going deploy to.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -