ActiveRecord meets DataMapper, with MiniRecord you are be able to write schema inside your models.