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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:06:04+00:00 2026-05-23T14:06:04+00:00

I have two tasks both using rails: To make an inventory app to help

  • 0

I have two tasks both using rails:

  1. To make an inventory app to help employees keep track of inventory
  2. To make a website for the company for customers to visit and gain a bit of knowledge about our product

My plan is to have the inventory app for each branch of the company to have a domain like this:

branch1.example.com
branch2.example.com
branch3.example.com

and for the customer-facing website to simply be http://www.example.com

My question is, should I make two separate rails apps, one for the inventory app and one for the customer-facing website? Or would it be easier to manage the two as a single combined app? The two apps would not be likely to share much code.

And if I were to split my apps, how would I be able to host both of my apps using a single domain as seen above (with the use of subdomains) with heroku?

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-23T14:06:05+00:00Added an answer on May 23, 2026 at 2:06 pm

    Well, there’s not really one right answer, but being experience with rails, I would recommend one app.

    If you split there will be many times you’ll have to copy and paste common code (becomes unmanagable). Plus you’ll deal with either a shared database or multiple databases.

    Not splitting, you can use a wildcard domain and access the current subdomain via request.subdomain to easily do whatever logic needs to happen per subdomain. Also you will only need to create the Product model once.

    In short, all the mentioned requirements sound tightly coupled enough that one app would be easiest.

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

Sidebar

Related Questions

I have an ASP.NET GridView control with two asp:CommandField columns that are both using
I have got two kind of entities, comments and tasks. Both types can be
We have two tasks (T1 and T2) in our vxWorks embedded system that have
We have two tables - Tasks and TasksUsers (users assigned to task). Task has
I have two tables containing Tasks and Notes, and want to retrieve a list
I have an Execute SQL task (SQL 2008) where I'm using two SSIS variables
I have two applications written in Java that communicate with each other using XML
Let's say for instance: I have two tables: old_data and new_data . Both old_data
Im am trying to improve a ToDo app for the iPhone. I have two
I have a tasks thread running in two separate instances of tomcat. The Task

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.