Datamapper is an object-relational mapper library written in Ruby and commonly used with Merb. It was developed to address perceived shortcomings in Ruby on Rails' ActiveRecord library.
Some features of Datamapper:[1]
Datamapper was designed to be a more abstract ORM, not strictly SQL, based on Martin Fowler's enterprise pattern.[2] As a result, people have built Datamapper adapters for other non-SQL databases, such as CouchDB[3], Apache Solr[4], and webservices such as Salesforce[5].