1
vote
1answer
50 views

Getting “Unknown primary key for table” while the ID is there

I've been debugging this trange problem of Rails giving me "Unknown primary key for table...", even when the table's ID is there. I've copied the database from one heroku app to another, on the ...
0
votes
0answers
11 views

Extracting API into another heroku app. Best practice

I'm planning on extracting some API endpoints from a Rails app hosted on Heroku that uses Postgres into a new Heroku app. What is the advisable way to do this? Share the database with the 2nd app ...
0
votes
1answer
37 views

running rails spec tests on heroku postgres

I am trying to use a free heroku postgres instance to use as my test database, but I am running into a problem as the first step seems to be for minitest to drop the database, which heroku postgres ...
0
votes
2answers
66 views

Syncing Heroku and localhost databases

Hey so I am following the One Month Rails guide to learning Ruby and I have hit a wall on one of the lessons. I have just finished uploading an image with Paperclip, and as I finished my work on my ...
0
votes
1answer
134 views

Unable to deploy on Heroku after migrating rails app from 3.2.3 to rails 4.0.0.rc2

I have recently migrated an existing rails 3.2.3 app to rails 4.0.0.rc2. I have made all the necessary changes and have been able to make it work fine on my local. But when I push this to heroku - ...
0
votes
1answer
35 views

Why do I keep getting an error when migrating database? Heroku

I am working on a rails app and I keep getting an error saying, AddIndexToUsersEmail: migrating =========================================== -- add_index(:users, :email, {:unique=>true}) rake ...