Coder Social home page Coder Social logo

mdb's Introduction

Mdb

Gem Version Code Climate Build Status

Wraps mdb-tools for reading Microsoft Access databases

Installation

Add this line to your application's Gemfile:

gem 'mdb'

And then execute:

$ bundle

Or install it yourself as:

$ gem install mdb

Usage

database = Mdb.open(PATH_TO_FILE)

# list tables in the database
database.tables 

# read the records in a table
database[:Movies]

Heroku

mdb-tools on heroku requires a custom buildpack.

Here is a sample project using this gem on heroku with configuration instructions:

https://github.com/jkotchoff/heroku_rails_microsoft_access_mdb_example

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

mdb's People

Contributors

boblail avatar jaredbeck avatar kobsy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mdb's Issues

Support MDB filenames starting with `--`

First off, thanks a lot for this gem:-)

We're using this to build importers for data migration from existing systems to our own dentist software. We therefore see many different filenames, even strange ones;-) One is especially strange as it follows the pattern --XXX.mdb. This one triggers an error when trying to import using this gem as the filename is parsed as options. The tools support using -- as a delimiter between options and the main argument.

Please use -- when calling the mdb- binaries to also support such filenames.

Thanks a lot!

Handle CSV not being part of Ruby standard library in 3.4.0

I got this warning after updating Ruby. Just an FYI.

warning: [...]/csv.rb was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add csv to your Gemfile or gemspec. Also contact author of mdb-0.5.0 to add csv into its gemspec

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.