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 6163249
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T21:47:39+00:00 2026-05-23T21:47:39+00:00

I developped a simple rails application that runs perfectly on my development machine. When

  • 0

I developped a simple rails application that runs perfectly on my development machine.

When I put it on the production server (Phusion Passenger/Nginx), it returns me that error in the my_app/log/production.log file:

ActiveRecord::StatementInvalid (Could not find table 'categories')

What is wrong?

PS: After a naming error, the table name was edited manually but it works great in the development mode. I don’t suspect that misnaming error.

  • 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-23T21:47:40+00:00Added an answer on May 23, 2026 at 9:47 pm
    1. Make sure you’ve run your database migrations on the production server

    2. Manually editing tables is a huge no no in Rails. It’ll give you more headaches than it is worth. If you need to change something, you’re way better of generating a new migration to change it – even if it’s just a name change. (You can however rollback the db changes, delete that last migration and create a new one – but like I said – it’s more trouble than it’s worth)

    3. Make sure your schema xml file is correct or at least matching to the actual schema. You can delete this and run rake:db:migrate to generate a new one.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've developed a very simple ASP.NET (jQuery) application. The RDBMS is MS Sql Server
I have developed a simple server using Tomcat which runs a servlet. The servlet
I developed a simple .net application that scrapes some data from web and saves
I developed a simple jquery ajax php application. I done a pagination. In that
I have developed an simple android application that says hello. Now i have transferred
I have been building a Rails application that performs accounting functionality. As part of
I developed one simple android application targeting the Mobiles with android 2.0 OS.I want
I have developed a simple location aware iPhone application which is functionally working very
i developed a very simple vb.net application and i need a way for every
I've developed an equation parser using a simple stack algorithm that will handle binary

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.