0
如何设置我的Rails应用程序,以便能够将Salesforce和PostgreSQL作为Heroku的后端使用。我目前的代码是:ActiveSalesforce + Heroku + PostgreSQL + Rails 2.3.x
#environment.rb
...
config.gem "asf-soap-adapter", :lib => 'asf-soap-adapter'
config.database_configuration_file = File.join(RAILS_ROOT, 'config', 'salesforce.yml')
salesforce.yml包含PostgreSQL和SF的配置。这不起作用,因为它取代了当前的Heroku database.yml,所以我无法连接到数据库。
任何想法如何解决这个问题?