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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T08:02:40+00:00 2026-06-06T08:02:40+00:00

I want to create an website where users can create their own teaching resources,

  • 0

I want to create an website where users can create their own teaching resources, e.g. blocks of text with embedded images etc.

How should I store this in a database in rails? I’ve heard mongoDB is good for storing documents but I was planning on using postgresql for the user database etc. and have read that generally you shouldn’t mix different types of db

I’m sure this is an obvious question but I couldn’t find an answer anywhere…

Thanks,

Graham

  • 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-06T08:02:46+00:00Added an answer on June 6, 2026 at 8:02 am

    There are several things you could do.

    1. Use PostgreSQL for both the Users table and the TeachingResources table. You could simply use a content column of type text to save all the data.


    2. Use PostgreSQL but use the HStore functionality to basically store a hash of objects of your choosing, this gives you more flexibility. Rails 4 will support this by default, but there is also a gem you can use.


    3. Use a combination of PostgreSQL and MongoDB (or any other NoSQL solution) in your app. I don’t see this as a bad solution, but it does put you outside of the “new user constraints” in Rails, so this might not be the best route to start with


    4. Go NoSQL all the way. There is no reason you shouldn’t be able to use MongoDB for your User model. However, you are right that this type of datastorage can not give full ACID guarantees, so be careful with product planning and know it’s vulnerabilities (but also its strengths).

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

Sidebar

Related Questions

I want to create a website with various users. The users can have different
I will create an ASP.NET Web Application like this; Users can login their own
I want to create a online diary kind of website were users can login
I want to create a website that offers users modules/widgets that can be dragged
Our website lets users create small widgets that can be embedded on other third
In my application I let registered users create their own personal website, and I
I want to create a registration form for dealers in my drupal website.Can any
I want to create a website/webapp to aid users in making translations of foreign
Ultimately I want to create a desktop app that allows users to update their
This is my website: http://www.stustu.co.uk .. I want to create an app that can

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.