Start out with example.rb and go from there if you want to try it out live.
Conventions
Merb’s coding conventions are a fantastic start: (merb.devjavu.com/#ContributingtoMerb)
DataMapper could use some documentation help. If you’d like to contribute, the example you’ll find on the above link is top-notch.