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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T23:41:59+00:00 2026-06-06T23:41:59+00:00

I have recently complete Hartl’s Rails tutorial, and have devised a little app that

  • 0

I have recently complete Hartl’s Rails tutorial, and have devised a little app that I would like to try to build out. I would like to understand whether I would need to learn, and integrate a separate database (such as PostgreSQL) to my Rails model in order to model the functions that involves matching users based on shared qualities with each other.

For example, if user a and user z both indicates that they like chinese food as well as like spicy meatballs, they would be “matched” with each other, where either users could initiate a “friendship request”. However, if a were to like the food items described, but user b like spicy meatballs and like tapas, a and b would not be matched with each other (because they only like 1 thing in common.. or some other stupid matching logic 🙂 ). Of course, the actual model may be slightly more complicated than this, where there may be other factors like “music” or “sport”, in which a matching process would consider certain qualities superior, and weighs them more than others in a matching process.

My questions are –

  • Would Rails be sufficient to handle the slightly complex database described above, where users enter their info, and a “black box” model would then spit out matches? Are there any resources that I could look into to learn more about databases in Rails?
  • If not, which type of database would you recommend that I learn more about? Would PostgreSQL be a good candidate?

Thanks!

Edit –
For clarification, my question stems from the topic discussed in this part in the tutorial, where it noted about how working with Rails could enable one to “barely ever have to think about how Rails stores data”. I was wondering if this would still be the case when the database would need to perform some type of work, such as matching, on its own.

  • 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-06-06T23:42:00+00:00Added an answer on June 6, 2026 at 11:42 pm

    Wow wow wow. Firstly rails isn’t a db. Models are reflections of databases and a structured way to view records as instance variables.
    So yes you need a db. Recommend you start yourself off with SQLite since its nice and small and data lives as a file within your app. Then upgrade MySQL later on (NB: this is generic advice without knowing what projects you might do next).

    Resources:
    I highly recommend Railscasts.com
    Start with this one and work your way up:
    http://railscasts.com/episodes/310-getting-started-with-rails

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

Sidebar

Related Questions

I like to think that recently I have moved from complete beginner to beginner.
Question So I've recently came up with some new possible projects that would have
I have recently discovered how to launch my sms app from the 'Complete Action
I have been looking into CruiseControl configuration recently (I'm a complete CC noob) and
I have recently written a survey application that has done it's job and all
Have recently been given a project to complete which uses XML quite extensively.Am looking
I recently upgraded one of my applications to Rails 2.2.2. Having done that, I've
We have an auto-complete list that's populated when an you send an email to
I have recently read Mike McShaffry's Game Coding Complete and noticed the code style
looks like today is going to be another rubbish one. we have recently updated

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.