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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:38:27+00:00 2026-05-16T14:38:27+00:00

I still learning Ruby on Rails, but have been wondering what happens if I

  • 0

I still learning Ruby on Rails, but have been wondering what happens if I make a mistake. For example, if I scaffold and make a typo, what do I do? If I don’t do scaffolding, generate a model, rake db:migrate it and find out I need to ad a column or delete one, what do I do? Is it better sometimes to use a third party manager on the database instead of letting RoR do it all? I’m not sure how to feel about designing with RoR. I can’t be perfect with it every time!

Thanks

  • 1 1 Answer
  • 1 View
  • 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-16T14:38:28+00:00Added an answer on May 16, 2026 at 2:38 pm

    There’s typically a way to fix any issues in rails as long as you know how to do it. you can create new migrations to fix old ones, or rollback the database and change the original migration. All of the rails generate functions also have destroy functions as well. If you mess up a scaffold and catch it right away, just destroy it and do it again. For example, in rails 3:

    rails generate model ModelName
    

    can be reversed with

    rails destroy model ModelName
    

    in rails < 3 the syntax is ruby script/generate and ruby script/destroy respectively. Google how to reverse migrations. Let rails do the hard work for you, no point in reinventing the wheel with a third party app.

    As for version control, LEARN IT. I had no idea how to use git when I started and it’s saved my butt more times than I can count. Setup an account with github, it makes learning git SUPER easy.

    When you get stuck, trust stackoverflow. People here are really helpful and never judgmental. Great resource for beginners and pros alike!

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

Sidebar

Related Questions

I have been learning Ruby (Rails/Sinatra) and it's good very good but OMFG how
I'm still in the learning phase of Ruby and RoR, but I've already encountered
Still learning JSP Web Applications here. I have been doing this for a while
I am still learning socket programming (using Perl) but I have both options (
Ok I am still learning this... I have Googled and done some research but
I'm still learning Rhino mocks and have a question about it. For example -
Ruby v = 1.9.3 Rails v = 3.1.0 I'm still learning rails - anyone
I am learning and have already set up a Ruby on Rails environment based
I am still learning Ruby, and still copy pasting from my manual. But I
I'm still learning the ropes of Git (love it!) but the other day I

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.