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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T16:48:32+00:00 2026-05-30T16:48:32+00:00

How to use rake with https://github.com/infused/dbf/ . I tried to write in database.yml such

  • 0

How to use rake with https://github.com/infused/dbf/. I tried to write in database.yml such text:

development:  
  adapter: dbf
  database: db/file.dbf
  pool: 5
  timeout: 5000

But it say, that didn’t find adapter activerecord-dbf-adapter.
I need only read dbf-files.
PS. I can’t use JDBC adapter.

UPDATE
I want to use dbf database such as another dabases (e.g. mysql) in rails with support ActiveRecord

  • 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-30T16:48:33+00:00Added an answer on May 30, 2026 at 4:48 pm

    I think you want to use dbf with ActiveRecord, but that it’s not what this gem does. It just provides the ability to read dbf files from Ruby.

    To use it in your application you could write a class that would implement all the common methods you want and inherit from there, something like:

    require 'dbf'
    class DbfModel
    
      def initialize
        @table= DBF::Table.new("#{self.class.name}.dbf")
      end
    
      def find your_params_here
        @table.find your_params_here
      end
    
    end
    

    If do you want to use dbf with ActiveRecord you should find some adapter for it, but I haven’t been lucky looking for it.

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

Sidebar

Related Questions

Trying to use gem delayed_job from collectiveidea(https://github.com/collectiveidea/delayed_job) in my project, but it throws exception:
I am trying to use the gem delayed_job from https://github.com/collectiveidea/delayed_job . I put gem
I use Rails 2.3 i18n with a database backend plugin : http://github.com/dylanz/i18n_backend_database This stores
I'm trying to use collectiveidea's delayed_job gem The installation instructions include Rake tasks are
Use case: 3rd party application wants to programatically monitor a text file being generated
Use case: I've just entered insert mode, and typed some text. Now I want
I try to use rails 3.1 ActiveModel::SecurePassword by following http://bcardarella.com/post/4668842452/exploring-rails-3-1-activemodel-securepassword and I end up
I got problem when I use rake command rake db:create rake aborted! Could not
I ran a bundle install on my Gemfile recently, and tried to rake:db:migrate. This
Hi I downloaded the plugin from http://github.com/techweenie/restful-authentication.git Then I run rails generate plugin authenticated

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.