2

I have no idea how I would set up a BerkelyDB database in a Ruby or Rails project.

Does anyone have any experience configuring one, that they could talk about?

Maybe using ActiveRecord or Datamapper?

Hank
  • 37
  • 6

2 Answers2

5

I would use Moneta, which provides a unified interface for key/value stores: https://github.com/minad/moneta

Slartibartfast
  • 8,735
  • 6
  • 41
  • 45
BJ Clark
  • 3,215
  • 2
  • 17
  • 16
  • Me too. That's great. Thanks. Btw, I'd like to persist an entity, in case you have any ideas: http://stackoverflow.com/questions/992173/how-would-you-represent-a-relational-entity-as-a-single-unit-of-retrievable-data/992223#992223 – Hank Jun 14 '09 at 06:03
0

i think you can use MySQL and use the BerkeleyDB storage engine and use ActiveRecord or DataMapper as usual. Will be cool to use BDB that way. try this: http://dev.mysql.com/doc/refman/5.0/en/bdb-storage-engine.html

auvi
  • 73
  • 1
  • 7