A library for reading Microsoft Access databases
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
test
.gitignore Generated using 'bundle gem' May 7, 2013
.ruby-version [skip] Bumped version to 0.4.0 (1m) Mar 21, 2017
.travis.yml [skip] checked in .travis.yml (1m) Oct 20, 2013
CHANGELOG.md [skip] Reworded CHANGELOG.md (5m) Mar 23, 2017
Gemfile Generated using 'bundle gem' May 7, 2013
LICENSE.txt
README.md [skip] Updated badges Jul 29, 2016
Rakefile
mdb.gemspec [skip] Added a homepage for the mdb gem (1m) Mar 23, 2017

README.md

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