Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1106759
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T01:50:26+00:00 2026-05-17T01:50:26+00:00

Making good progress on rails now, but hit a snag on heroku deployment. After

  • 0

Making good progress on rails now, but hit a snag on heroku deployment. After committing to git and then doing git push heroku master, I’ve gotten an error twice in the heroku logs when I try and open /users/sign_up

Started GET "/users/sign_up" for 12.123.234.345 at Mon Sep 20 14:39:05 -0700 2010
  Processing by Devise::RegistrationsController#new as HTML
Completed   in 3ms

ActiveRecord::StatementInvalid (PGError: ERROR:  relation "users" does not exist
:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
              FROM pg_attribute a LEFT JOIN pg_attrdef d
                ON a.attrelid = d.adrelid AND a.attnum = d.adnum
             WHERE a.attrelid = '"users"'::regclass
               AND a.attnum > 0 AND NOT a.attisdropped
             ORDER BY a.attnum
):

What’s annoying me is some combination of restarting the app server on heroku, and doing heroku db:reset fixed it the first time, but I cannot now replicate what it was that fixed it. The error above sounds like it hasn’t migrated the users table properly.

Help appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T01:50:26+00:00Added an answer on May 17, 2026 at 1:50 am

    Your database on Heroku was probably empty. Did you migrate the database on Heroku after you deployed? If not it’s just an empty database.

    db:push solved your problem because you pushed your development database over top of the empty one, so it started working.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm making a good progress using Web2py and Google App Engine, but now I
I am making good progress with my first Rails app with a lot of
I am working on my first iPhone app and making good progress. But there
I am relatively new to Linq to Entities but I am making good progress.
I was making some good progress on my App, but ran into a problem
I am making some probes with async CTP but I don't get a good
I would like to start making code patches to Rails. Are there any good
Alright, so I'm making a form validation everything is good in this JS, but
I am new to git but have spent a good deal of time reading
Working on my first FB app and making good progress. I know that non-testers

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.