
- I have the following code into database.yml in development and production
development:
<<: *default
adapter: postgresql
host: localhost
username: postgres
database: <%= ENV['DATABASE_URL'] %>
password: <%= ENV['DATABASE_PASSWORD'] %>
- If I use `heroku pg:psql DATABASE_URL --app wishlist-users` and type
select * from salesforce.account;
I have the good output so i can acces to my data from my term.
- I set "gem 'databasedotcom'" "gem 'databasedotcom-rails'" "gem 'restforce'" into my Gemfile- I used the command `gem install force`Now i don't know what to do. I tried to generate models with the same db name and some other manipulation. I just want to display Name from salesforce.contact for the moment. The goal is just to link my app to the database.If you know the solution or have a link with a good guide.Thanks a lot.1 réponse

Hi Ramzi,Please refer to the below post from the stack overflow community with similar issue.http://stackoverflow.com/questions/39700364/import-salesforce-database-in-my-rails-appPlease mark this post as solved if it's resolved.Best Regards,Nagendra.P