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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:35:56+00:00 2026-05-27T17:35:56+00:00

Recently I converted from django development to fulltime rails work, it is a fairly

  • 0

Recently I converted from django development to fulltime rails work, it is a fairly small shop and I’m picking things up from books and on my own as I go.

Last week I was hit with a major blow to my mental model when I learned that rails’ models do not mirror the content in the database.

See example of the differences: http://www.peterkrantz.com/2009/rails-grails-django-models/

What I’m curious of, is how do I continually modify a model to support new data types and relations?

Also, is there a way to have all of the attributes in a table for a specific class shown in the models file?

Thanks

  • 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-27T17:35:56+00:00Added an answer on May 27, 2026 at 5:35 pm

    I think migrations are what you are looking for.

    If you want all of the columns shown in the model file, use the annotate gem

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

Sidebar

Related Questions

We have an existing (old) codeline that we have recently converted from VC6 to
I have a report, which was recently converted from SSRS2005 to SSRS2208. The report
I recently converted a site from asp to CF. Unfortunately, alot of the old
We have quite Large Web Based System, which is recently converted from Website to
i converted recently from wxpython to pyqt and im still facing alot of problems
I recently converted my solution from Visual Studio 2008 to 2010, hoping I would
I recently converted a CVS repository to Mercurial. From the looks of it, everything
I recently converted a subversion repo, which had been converted from cvs before that
Hi I have datatype for a field recently converted to xml from varchar(MAX) in
I recently converted from macports to homebrew and my previous macports Imagemagick install was

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.