I wrote a ruby on rails app that I host on heroku and is used as a tool for creating data and storing it in the postresql heroku database
How do I do connect to it from an Android app for fetching data?
The approach for this should be to use REST services to perform CRUD operations on your data, not directly connect from Android to the `database.