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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T00:42:33+00:00 2026-05-23T00:42:33+00:00

I have inherited a Ruby on Rails project where the programmer didn’t use rake

  • 0

I have inherited a Ruby on Rails project where the programmer didn’t use rake to create the db schema, so it seems very out of synch, is there a way to rectify this?

  • 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-23T00:42:34+00:00Added an answer on May 23, 2026 at 12:42 am

    First create a schema.rb file

    rake db:schema:dump

    Then make a migration ot of it.

    class CreateMigration < ActiveRecord::Migration
      def self.up
        # insert schema.rb here
      end
    
      def self.down
      end
    end
    

    You might also need to create the schema_migrations table, and manually add the timestamp for this migration to it.

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

Sidebar

Related Questions

I have an inherited app, running on Rails 3 in Ruby 1.9, and its
I've just inherited a website built with Ruby on Rails. I have never used
I have inherited a poorly written web application that seems to have errors when
I have inherited a project that uses LLBLGen Pro for the DB layer. The
I have inherited a Websphere Portal project that uses Hibernate 3.0 to connect to
So, I've started to create some Ruby unit tests that use Selenium RC to
Hi I'm new in ruby and rails and I want to create a new
I am using ruby 1.9.2-p180, rails 3.0.7. I have used validates_acceptance_of since the user
I am using the ruby 'configuration' gem for a project. Currently, I have an
I have inherited a client site which crashes every 3 or 4 days. It

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.