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

  • Home
  • SEARCH
  • 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 7524717
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T03:08:26+00:00 2026-05-30T03:08:26+00:00

I made what I now see as a mistake (better now than later, not

  • 0

I made what I now see as a mistake (better now than later, not as good as never) of running rake db:reset on my local dev env to try to solve a problem I was having with assets production compilation(RAILS_ENV=production bundle exec rake assets:precompile) referring to a PG ERROR summarized bellow.

PGError: ERROR:  relation "schools" does not exist
LINE 4:              WHERE a.attrelid = '"schools"'::regclass

The tables get created properly and seeding works with exception of active_admin. I use Active_Admin that did not seed properly. My emails mysteriously stopped being sent and the assets compilation for production still fails with the same error. I am not sure what I can post here to help you understand the issue but if someone could help me tackle one at a time that would be much appreciated. Here are my issues in list form.

  1. active_admin not seeding (I tried running: rails generate active_admin:install but that started to break things further so I reverted this.
  2. PG ERROR on assets precompile for production persists.
  3. Email stopped being processed (not using DJ)

Env.
Rails 3.1

——UPDATE 00——

2 is Solved. db:reset dropped all my tables but only migrated and seeded my development database so I also had to:

  • run migrate and seed for production ( rake db:migrate RAILS_ENV="production", rake db:seed RAILS_ENV="production")
  • before compiling production assets(rake db:migrate RAILS_ENV="production")
  • 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-30T03:08:27+00:00Added an answer on May 30, 2026 at 3:08 am

    I ended up splitting this question into 2 parts. The second part got better contribution and is where I found the solution for this as well.

    Detailed solution here

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

Sidebar

Related Questions

I made a mistake in a bulk insert script, so now i have duplicate
I have made a mistake in one of the commits. Now I want to
now i made JavaScript code (jquery code) and when i click ok it return
I made a stress test on Google App Engine and now: Logs Stored Data
i made news applicaion in android using RSS feed and now i want to
i made a webpage which use FormsAuthentication. now i need to get the user
I made query that accepts two parameters. Now I want to use that query
I made an MFC application, and now i want to turn off the window's
I made a demo using v2, and now I want to use v3. But
Ive made an app, and published it now. I'm facing a weird problem where

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.