Mdb
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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request