Generic Persistence API for Ruby