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

The Archive Base Latest Questions

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

Im a noob on rails. I tried to scaffold a model msg. it works

  • 0

Im a noob on rails.

I tried to scaffold a model msg.
it works finely when i use WEBrick server on a localhost.

But when i tried to access this page (/msgs) using apache+passenger on other client it shows “We’re sorry, but something went wrong.”

i checked the log file,it shows
“ActiveRecord::StatementInvalid (SQLite3::SQLException: no such table: msgs: SELECT “msgs”.* FROM “msgs”):”

i tried

rails c
p=Msg.new

i guess there will be error,but it works fine.

I have no idea on what is happening,do i miss anything?

Regards.

Nick

  • 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:14:22+00:00Added an answer on May 23, 2026 at 9:14 pm

    That error tells you that the table for msgs does not exist, you need to run rake db:migrate on the server you deployed your application to.

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

Sidebar

Related Questions

Rails noob here. I have a rails application with (in this example) three tables.
This is a noob question: How do I add gems to my rails app
I appreciate this is an incredibly noob question, but having Googled multiple combinations of
I'm sorry if this question is noob-ish but I'm not having much luck with
This seems like a noob question, but the simple answer is eluding me. I
This is probably very straight forward and simple, but I'm very new and noob
I am a NOOB to Rails 3 and just completed the Ruby-on-Rails tutorial. This
I am a bit of a noob still with rails, but I am running
I am a noob in ruby on rails so excuse this question if it
Rails noob who has researched for weeks and tried all kinds of ways to

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.