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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T18:16:51+00:00 2026-05-24T18:16:51+00:00

Hypothetical question (at the moment!) Suppose I have a great idea for an application.

  • 0

Hypothetical question (at the moment!)

Suppose I have a great idea for an application. It acts on data which can be well-represented by tables in a relational database, using interlinked objects which represent those tables. It supports a well-defined API for interacting with (Creating, Reading, Updating, Deleting) those objects, and viewing information about them.

In short, it’s a perfect fit for Rails… except it doesn’t want to be a web-app. Perhaps it wants a Command Line interface; or an OS-native dialog-based interface; or perhaps it wants to present itself as a resource to other apps. Whatever – it just isn’t designed to present itself over HTTP.

These questions suggest it’s certainly possible, but both approach the problem from the point of view of adapting an existing web-app to have an additional, non-web, interface.

I’m interested in knowing what the best way to create such an app would be. Would you be best to rails new non_web_app, in order to get the skeleton built “for free”, then write some “normal” Ruby code that requires config/environment – but then you have a lot of web-centric cruft that you don’t need? Or would it be better to roll up your sleeves and build it from whole cloth, taking just the libraries you need and manually writing any required configuration?

If the latter, what exactly is needed to make a Rails app, but without the web bits?

  • 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-24T18:16:52+00:00Added an answer on May 24, 2026 at 6:16 pm

    If you want to access the Rails ORM to develop a CRUD non-web application, just include ActiveRecord in your own Ruby script; you will avoid using a lot of Rails modules you probably don’t need (routing, template generator, …) Here is an example of how to do it.

    If you prefer to have the full Rails stack, do not run your Rails web app in an application server (WEBrick, Passenger, Mongrel, …) to avoid any HTTP exposure, and interact with your application using tasks or the rails console.

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

Sidebar

Related Questions

The question is a bit hypothetical. Let's say I have an application that draws
A hypothetical question: Is it possible to have a C++ program, which includes preprocessor
I have a hypothetical tree view that contains this data: RootNode Leaf vein SecondRoot
Suppose I have this hypothetical, odd and unintuitive situation #include <iostream> struct A {
(This is a hypothetical question for discussion, I have no actual problem). Say that
This is just a hypothetical question, if you wouldn't have the Array and the
I have a hypothetical question, something where by knowledge is a wee bit fuzzy.
Suppose I have a hypothetical html layout such as this (while hypothetical, I'm implementing
I have a question I am struggling with. Just a hypothetical situation here. For
I use C# to write a (hypothetical) application - online store. I have a

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.