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

  • Home
  • SEARCH
  • 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 5931231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:39:55+00:00 2026-05-22T14:39:55+00:00

I prepare to develop one project, which has no UI. The project just need

  • 0

I prepare to develop one project, which has no UI. The project just need to interact with database, so is there any example for reference ?

  • 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-22T14:39:55+00:00Added an answer on May 22, 2026 at 2:39 pm

    Does your app have ties to a Rails-based app and need to read the Rails configuration files? Or, is it entirely stand-alone and have no Rails interaction?

    ActiveRecord is OK for that, but if I don’t need Rails compatibility I use Sequel. It’s a great ORM that I find to be much more flexible.

    If you need Rails compatibility and want to use ActiveRecord, look into using rails runner. From the docs:

    runner runs Ruby code in the context of Rails non-interactively. For instance:

    $ rails runner "Model.long_running_method"
    

    Rails runner is for command-line apps that don’t need the HTTPd server or user-interface of Rails. I use them for things like an app that runs daily to ftp files from a site for analysis. It has to write to the database, so it has access to all the models I’ve defined, but it never needs to present anything to the user since it is invisible to them.

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

Sidebar

Related Questions

I prepare to develop one heartbeat program, which need to send udp packet every
I prepare a project in which there are more than 15 projects and each
I need to prepare a presentation about what's WPF, my audiences are mostly project
Example: public function prepare($sql, &$p = NULL) { p is assigned by reference. I'm
To prepare database for my Ruby on Rails 3 application I need to run
I need to prepare for my exam and this is the probable question for
How can I prepare the configuration settings (App.config, maybe?) I need to use Enterprise
I have task to prepare two windows with swing. One contains grid of squares,
I need to prepare for PHP aptitude exam. I have searched on Google but
We would like to prepare a quiz which will improve the vocabulary of the

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.